remove debug message and fix snap coords

Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
This commit is contained in:
Victor Seiji Hariki 2022-11-29 20:43:13 -03:00
parent d32e48a018
commit 6b0a25c15e
2 changed files with 2 additions and 3 deletions

View file

@ -15,8 +15,8 @@ mouse.listen.window.onmousemove.on((evn) => {
mouse.listen.world.onmousemove.on((evn) => {
canvasXInfo.textContent = evn.x;
canvasYInfo.textContent = evn.y;
snapXInfo.textContent = snap(evn.x);
snapYInfo.textContent = snap(evn.y);
snapXInfo.textContent = evn.x + snap(evn.x);
snapYInfo.textContent = evn.y + snap(evn.y);
});
/**

View file

@ -647,7 +647,6 @@ const img2imgTool = () =>
bb.w,
state.keepBorderSize
);
console.debug("hey");
}
const tmp = ovCtx.globalAlpha;