Add a getter and property for the editor distraction-free mode

(cherry picked from commit cc1859efed)
This commit is contained in:
Hugo Locurcio
2020-06-04 12:16:39 +02:00
committed by Rémi Verschelde
parent 3649c61e46
commit 9e01a0cd28
5 changed files with 14 additions and 10 deletions
+1 -1
View File
@@ -4945,7 +4945,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();
}