Skip to content

Commit

Permalink
make shorter conditional in ToolArea
Browse files Browse the repository at this point in the history
  • Loading branch information
VikaAbysova committed Oct 25, 2023
1 parent bac099a commit 04a9fba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/engine/tools2d/ToolArea.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 04a9fba

Please sign in to comment.