diff --git a/js/ui/tool/interrogate.js b/js/ui/tool/interrogate.js index 5e97375..209ec71 100644 --- a/js/ui/tool/interrogate.js +++ b/js/ui/tool/interrogate.js @@ -42,11 +42,23 @@ const interrogateTool = () => state.mousemovecb = (evn) => { state.erasePrevReticle(); - state.erasePrevReticle = _reticle_draw(evn, state, "Interrogate", { - toolTextStyle: "#AFA5", - sizeTextStyle: "#AFA5", - reticleStyle: "#AFAF", - }); + state.erasePrevReticle = _tool._reticle_draw( + getBoundingBox( + evn.x, + evn.y, + state.cursorSize, + state.cursorSize, + state.snapToGrid && basePixelCount + ), + "Interrogate", + { + w: stableDiffusionData.width, + h: stableDiffusionData.height, + }, + { + sizeTextStyle: "#AFA5", + } + ); }; state.redraw = () => {