diff options
| author | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2020-05-31 19:58:15 +0200 |
|---|---|---|
| committer | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2020-06-03 22:18:49 +0200 |
| commit | cc1859efed2da6587fa4bf3f567167a3c5f20fb6 (patch) | |
| tree | 2f93502b1f294538859ad7ea02214441efbeab84 /editor/editor_node.cpp | |
| parent | dc67d0737b86c7a6cab66752b96631c59c703997 (diff) | |
| download | redot-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.cpp | 2 |
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(); } |
