diff --git a/src/engine/tools2d/ToolArea.js b/src/engine/tools2d/ToolArea.js index c945df05..9137d7ac 100644 --- a/src/engine/tools2d/ToolArea.js +++ b/src/engine/tools2d/ToolArea.js @@ -81,7 +81,7 @@ class ToolArea { this.m_hScreen, store ); - if (j === 0) { + if (!j) { lastPoint.x = vScrProj_S.x; lastPoint.y = vScrProj_S.y; }