summaryrefslogtreecommitdiffstats
path: root/ToolRotate.h
diff options
context:
space:
mode:
Diffstat (limited to 'ToolRotate.h')
-rw-r--r--ToolRotate.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ToolRotate.h b/ToolRotate.h
index 4037b58..0a3ea0b 100644
--- a/ToolRotate.h
+++ b/ToolRotate.h
@@ -43,6 +43,10 @@ class ToolRotate : public Tool, private EventHandler, private Renderer {
return image;
}
+ virtual bool hoverFilter(const LevelObject &object) const {
+ return object.canRotate();
+ }
+
virtual EventHandler* getEventHandler() {
return this;
}