From 6a973192da64282030f4c22f74d90b90919ef48b Mon Sep 17 00:00:00 2001 From: npalomba Date: Sun, 31 Mar 2019 18:48:15 +0200 Subject: [PATCH] Fixed bug in canvas dragging (pan tool). Signed-off-by: npalomba --- js/_mouseEvents.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/js/_mouseEvents.js b/js/_mouseEvents.js index d0e0c7c..a0a13ee 100644 --- a/js/_mouseEvents.js +++ b/js/_mouseEvents.js @@ -178,9 +178,9 @@ function draw (mouseEvent) { } } else if (currentTool == 'pan' && dragging) { - - for (let i=0; i