1
0
mirror of https://github.com/godotengine/godot.git synced 2026-01-06 19:41:11 +00:00

[macOS] Update entered state from mouseMoved.

This commit is contained in:
Pāvels Nadtočajevs
2025-04-27 16:00:28 +03:00
parent e37c6261ea
commit 152423230c

View File

@@ -515,6 +515,11 @@
mm->set_relative_screen_position(relativeMotion);
ds->get_key_modifier_state([event modifierFlags], mm);
const NSRect contentRect = [wd.window_view frame];
if (NSPointInRect([event locationInWindow], contentRect)) {
ds->mouse_enter_window(window_id);
}
Input::get_singleton()->parse_input_event(mm);
}