You've already forked godot
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:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user