Add a getter and property for the editor distraction-free mode
This commit is contained in:
parent
dc67d0737b
commit
cc1859efed
4 changed files with 10 additions and 2 deletions
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue