summaryrefslogtreecommitdiffstats
path: root/editor/editor_node.cpp
diff options
context:
space:
mode:
authorHugo Locurcio <hugo.locurcio@hugo.pro>2020-05-31 19:58:15 +0200
committerHugo Locurcio <hugo.locurcio@hugo.pro>2020-06-03 22:18:49 +0200
commitcc1859efed2da6587fa4bf3f567167a3c5f20fb6 (patch)
tree2f93502b1f294538859ad7ea02214441efbeab84 /editor/editor_node.cpp
parentdc67d0737b86c7a6cab66752b96631c59c703997 (diff)
downloadredot-engine-cc1859efed2da6587fa4bf3f567167a3c5f20fb6.tar.gz
Add a getter and property for the editor distraction-free mode
Diffstat (limited to 'editor/editor_node.cpp')
-rw-r--r--editor/editor_node.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp
index 8b7014fabe..4d69b3f0d6 100644
--- a/editor/editor_node.cpp
+++ b/editor/editor_node.cpp
@@ -4782,7 +4782,7 @@ void EditorNode::set_distraction_free_mode(bool p_enter) {
}
}
-bool EditorNode::get_distraction_free_mode() const {
+bool EditorNode::is_distraction_free_mode_enabled() const {
return distraction_free->is_pressed();
}