summaryrefslogtreecommitdiff
path: root/src/gui/windows/minimap.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/windows/minimap.cpp')
-rw-r--r--src/gui/windows/minimap.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gui/windows/minimap.cpp b/src/gui/windows/minimap.cpp
index 71689805f..31d8169d1 100644
--- a/src/gui/windows/minimap.cpp
+++ b/src/gui/windows/minimap.cpp
@@ -436,6 +436,13 @@ void Minimap::draw(Graphics *graphics)
BLOCK_END("Minimap::draw")
}
+void Minimap::mousePressed(MouseEvent &event)
+{
+ if (event.getButton() == MouseButton::RIGHT)
+ return;
+ Window::mousePressed(event);
+}
+
void Minimap::mouseReleased(MouseEvent &event)
{
Window::mouseReleased(event);