Merge pull request #104 from zero01101/testing

brings back interrogate reticle
This commit is contained in:
tim h 2022-12-15 21:16:50 -06:00 committed by GitHub
commit ebe6e63e5d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 = () => {