summaryrefslogtreecommitdiffstats
path: root/scene/2d/touch_screen_button.h
diff options
context:
space:
mode:
Diffstat (limited to 'scene/2d/touch_screen_button.h')
-rw-r--r--scene/2d/touch_screen_button.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/2d/touch_screen_button.h b/scene/2d/touch_screen_button.h
index 4467604e2b..da75fabfa0 100644
--- a/scene/2d/touch_screen_button.h
+++ b/scene/2d/touch_screen_button.h
@@ -76,10 +76,10 @@ protected:
#endif // DISABLE_DEPRECATED
public:
-#ifdef TOOLS_ENABLED
+#ifdef DEBUG_ENABLED
virtual Rect2 _edit_get_rect() const override;
virtual bool _edit_use_rect() const override;
-#endif
+#endif // DEBUG_ENABLED
void set_texture_normal(const Ref<Texture2D> &p_texture);
Ref<Texture2D> get_texture_normal() const;