Merge pull request #71725 from bruvzg/mac_mpass_title

[macOS] Move extended title bar input to _gui_input and add mouse filters to prevent editor buttons from passing double-click to title.
This commit is contained in:
Rémi Verschelde 2023-01-26 22:49:38 +01:00
commit 619604093f
No known key found for this signature in database
GPG key ID: C3336907360768E1
3 changed files with 3 additions and 2 deletions

View file

@ -7262,6 +7262,7 @@ EditorNode::EditorNode() {
project_title->set_text_overrun_behavior(TextServer::OVERRUN_TRIM_ELLIPSIS);
project_title->set_vertical_alignment(VERTICAL_ALIGNMENT_CENTER);
project_title->set_h_size_flags(Control::SIZE_EXPAND_FILL);
project_title->set_mouse_filter(Control::MOUSE_FILTER_PASS);
left_spacer->add_child(project_title);
}