Merge pull request #104 from zero01101/testing
brings back interrogate reticle
This commit is contained in:
commit
ebe6e63e5d
1 changed files with 17 additions and 5 deletions
|
@ -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 = () => {
|
||||
|
|
Loading…
Reference in a new issue