1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-07 12:30:27 +00:00

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

This commit is contained in:
Hugo Locurcio
2020-05-31 19:58:15 +02:00
parent dc67d0737b
commit cc1859efed
4 changed files with 10 additions and 2 deletions

View File

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