mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-07-07 21:09:40 +01:00
(svn r20619) -Fix [FS#4070]: [OSX] Limit minimum window size to 64x64 like all other platforms (matheweis)
This commit is contained in:
parent
1e0e4b8cb6
commit
134712ec64
@ -456,6 +456,8 @@ bool WindowQuartzSubdriver::SetVideoMode(int width, int height)
|
||||
[ this->window setMiniwindowTitle:nsscaption ];
|
||||
[ nsscaption release ];
|
||||
|
||||
[ this->window setContentMinSize:NSMakeSize(64.0f, 64.0f) ];
|
||||
|
||||
[ this->window setAcceptsMouseMovedEvents:YES ];
|
||||
[ this->window setViewsNeedDisplay:NO ];
|
||||
|
||||
|
@ -386,6 +386,8 @@ bool WindowQuickdrawSubdriver::SetVideoMode(int width, int height)
|
||||
[ this->window setMiniwindowTitle:nsscaption ];
|
||||
[ nsscaption release ];
|
||||
|
||||
[ this->window setContentMinSize:NSMakeSize(64.0f, 64.0f) ];
|
||||
|
||||
[ this->window setAcceptsMouseMovedEvents:YES ];
|
||||
[ this->window setViewsNeedDisplay:NO ];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user