From a45407571e15a4bdd5ab1aaa3196dd64752638c3 Mon Sep 17 00:00:00 2001 From: jdescottes Date: Tue, 20 May 2014 23:28:16 +0200 Subject: [PATCH] Fix : dont modify transparent color --- src/js/drawingtools/BaseTool.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/js/drawingtools/BaseTool.js b/src/js/drawingtools/BaseTool.js index dea1bd8f..25a7c9cd 100644 --- a/src/js/drawingtools/BaseTool.js +++ b/src/js/drawingtools/BaseTool.js @@ -80,7 +80,6 @@ var sx = (x0 < x1) ? 1 : -1; var sy = (y0 < y1) ? 1 : -1; var err = dx-dy; - var it = 0; while(true){ // Do what you need to for this