summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/wx/timeline.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wx/timeline.cc b/src/wx/timeline.cc
index 5a98c829a..3187792be 100644
--- a/src/wx/timeline.cc
+++ b/src/wx/timeline.cc
@@ -625,6 +625,8 @@ Timeline::left_up_zoom (wxMouseEvent& ev)
if ((bottom_right.x - top_left.x) < 8 || (bottom_right.y - top_left.y) < 8) {
/* Very small zoom rectangle: we assume it wasn't intentional */
+ _zoom_point = optional<wxPoint> ();
+ Refresh ();
return;
}