make stamp redraw on zoom

Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
This commit is contained in:
Victor Seiji Hariki 2022-12-20 23:43:29 -03:00
parent 94de86a971
commit 35d5868854

View file

@ -327,6 +327,10 @@ const stampTool = () =>
uiCtx.restore(); uiCtx.restore();
}; };
state.redraw = () => {
state.movecb(state.lastMouseMove);
};
state.drawcb = (evn) => { state.drawcb = (evn) => {
let x = evn.x; let x = evn.x;
let y = evn.y; let y = evn.y;