From f446cf378447c1a3ed7e725f472576fee8e84d30 Mon Sep 17 00:00:00 2001 From: Victor Seiji Hariki Date: Thu, 8 Dec 2022 23:33:51 -0300 Subject: [PATCH] fixed color brush cursor rendering Signed-off-by: Victor Seiji Hariki --- js/ui/tool/colorbrush.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/ui/tool/colorbrush.js b/js/ui/tool/colorbrush.js index dfaa640..b3b7805 100644 --- a/js/ui/tool/colorbrush.js +++ b/js/ui/tool/colorbrush.js @@ -166,7 +166,7 @@ const colorBrushTool = () => const vcp = {x: evn.evn.clientX, y: evn.evn.clientY}; // draw drawing cursor - uiCtx.clearRect(0, 0, ovCanvas.width, ovCanvas.height); + uiCtx.clearRect(0, 0, uiCanvas.width, uiCanvas.height); uiCtx.beginPath(); uiCtx.arc(