1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-07 12:30:27 +00:00

[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:
bruvzg
2023-01-20 12:47:05 +02:00
parent 28a24639c3
commit 4b2323e030
3 changed files with 3 additions and 2 deletions

View File

@@ -6755,6 +6755,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);
}