mirror of
https://github.com/holub/mame
synced 2025-07-02 00:29:37 +03:00
Fix OSX build - no idea why it wasn't breaking before (nw)
This commit is contained in:
parent
67a292494e
commit
208531b7bc
@ -160,7 +160,7 @@
|
||||
|
||||
windowFrame.size.width += adjustment.width;
|
||||
windowFrame.size.height += adjustment.height; // not used - better to go for fixed height
|
||||
windowFrame.size.height = std::min(512.0, available.size.height);
|
||||
windowFrame.size.height = std::min(CGFloat(512.0), available.size.height);
|
||||
windowFrame.size.width = std::min(windowFrame.size.width, available.size.width);
|
||||
windowFrame.origin.x = available.origin.x + available.size.width - windowFrame.size.width;
|
||||
windowFrame.origin.y = available.origin.y;
|
||||
|
Loading…
Reference in New Issue
Block a user