You've already forked godot
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:
committed by
Rémi Verschelde
parent
3649c61e46
commit
9e01a0cd28
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user