summaryrefslogtreecommitdiff
path: root/Userland/Applications/PixelPaint/Tools/Tool.h
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Applications/PixelPaint/Tools/Tool.h')
-rw-r--r--Userland/Applications/PixelPaint/Tools/Tool.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Userland/Applications/PixelPaint/Tools/Tool.h b/Userland/Applications/PixelPaint/Tools/Tool.h
index 3b9ac32a7b..c3140e5ebc 100644
--- a/Userland/Applications/PixelPaint/Tools/Tool.h
+++ b/Userland/Applications/PixelPaint/Tools/Tool.h
@@ -77,6 +77,9 @@ public:
virtual StringView tool_name() const = 0;
+ // We only set the override_alt_key flag to true since the override is false by default. If false is desired do not call method.
+ virtual bool is_overriding_alt() { return false; };
+
protected:
Tool() = default;
WeakPtr<ImageEditor> m_editor;