1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-08 12:40:44 +00:00

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

(cherry picked from commit cc1859efed)
This commit is contained in:
Hugo Locurcio
2020-05-31 19:58:15 +02:00
committed by Rémi Verschelde
parent 3649c61e46
commit 9e01a0cd28
5 changed files with 14 additions and 10 deletions

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();
}