Fix line debug tool showing up when placing stamps

This commit is contained in:
Tamás Bálint Misius
2023-12-12 08:41:53 +01:00
parent ef86110516
commit d4784b2516

View File

@@ -171,7 +171,7 @@ public:
//all of these are only here for one debug lines
bool GetMouseDown() { return isMouseDown; }
bool GetDrawingLine() { return drawMode == DrawLine && isMouseDown; }
bool GetDrawingLine() { return drawMode == DrawLine && isMouseDown && selectMode == SelectNone; }
bool GetDrawSnap() { return drawSnap; }
ui::Point GetLineStartCoords() { return drawPoint1; }
ui::Point GetLineFinishCoords() { return currentMouse; }