From cc1859efed2da6587fa4bf3f567167a3c5f20fb6 Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Sun, 31 May 2020 19:58:15 +0200 Subject: Add a getter and property for the editor distraction-free mode --- editor/editor_node.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'editor/editor_node.h') diff --git a/editor/editor_node.h b/editor/editor_node.h index dfe3d91c07..7c9cf44d6c 100644 --- a/editor/editor_node.h +++ b/editor/editor_node.h @@ -693,7 +693,7 @@ public: bool get_docks_visible() const; void set_distraction_free_mode(bool p_enter); - bool get_distraction_free_mode() const; + bool is_distraction_free_mode_enabled() const; void add_control_to_dock(DockSlot p_slot, Control *p_control); void remove_control_from_dock(Control *p_control); -- cgit v1.2.3