diff options
-rw-r--r-- | src/subway_map.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/subway_map.cpp b/src/subway_map.cpp index 100d351..0beef76 100644 --- a/src/subway_map.cpp +++ b/src/subway_map.cpp | |||
@@ -423,6 +423,8 @@ void SubwayMap::OnMouseClick(wxMouseEvent &event) { | |||
423 | scroll_mode_ = false; | 423 | scroll_mode_ = false; |
424 | 424 | ||
425 | SetScrollSpeed(0, 0); | 425 | SetScrollSpeed(0, 0); |
426 | |||
427 | SetCursor(wxCURSOR_ARROW); | ||
426 | } else if (event.GetPosition().x < GetSize().GetWidth() / 6 || | 428 | } else if (event.GetPosition().x < GetSize().GetWidth() / 6 || |
427 | event.GetPosition().x > 5 * GetSize().GetWidth() / 6 || | 429 | event.GetPosition().x > 5 * GetSize().GetWidth() / 6 || |
428 | event.GetPosition().y < GetSize().GetHeight() / 6 || | 430 | event.GetPosition().y < GetSize().GetHeight() / 6 || |
@@ -430,6 +432,8 @@ void SubwayMap::OnMouseClick(wxMouseEvent &event) { | |||
430 | scroll_mode_ = true; | 432 | scroll_mode_ = true; |
431 | 433 | ||
432 | EvaluateScroll(event.GetPosition()); | 434 | EvaluateScroll(event.GetPosition()); |
435 | |||
436 | SetCursor(wxCURSOR_CROSS); | ||
433 | } | 437 | } |
434 | } | 438 | } |
435 | 439 | ||