summaryrefslogtreecommitdiff
path: root/tikzit/src/gtk/SelectTool.m
diff options
context:
space:
mode:
Diffstat (limited to 'tikzit/src/gtk/SelectTool.m')
-rw-r--r--tikzit/src/gtk/SelectTool.m3
1 files changed, 1 insertions, 2 deletions
diff --git a/tikzit/src/gtk/SelectTool.m b/tikzit/src/gtk/SelectTool.m
index deae55a..2aa2104 100644
--- a/tikzit/src/gtk/SelectTool.m
+++ b/tikzit/src/gtk/SelectTool.m
@@ -560,8 +560,7 @@ static void drag_select_mode_cb (GtkToggleButton *button, SelectTool *tool);
- (void) clearSelectionBox {
NSRect oldRect = selectionBox;
- NSRect emptyRect;
- selectionBox = emptyRect;
+ selectionBox = NSZeroRect;
[renderer invalidateRect:NSInsetRect (oldRect, -2, -2)];
[renderer clearHighlightedNodes];