mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-26 22:53:16 -04:00
cocoadisplay: Trigger handle_move_event() when a resize event is received to also update the origin of the window if needed
This commit is contained in:
parent
88ba7badd4
commit
105f9abbfa
@ -30,6 +30,7 @@
|
||||
- (void) windowDidResize:(NSNotification *)notification {
|
||||
// Forcing a move event is unfortunately necessary because Cocoa does not
|
||||
// call windowDidMove in case of window zooms.
|
||||
_graphicsWindow->handle_move_event();
|
||||
_graphicsWindow->handle_resize_event();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user