mirror of
https://github.com/tiennm99/godot.git
synced 2026-08-11 16:25:41 +00:00
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:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user