mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-26 16:09:10 +00:00
(svn r26996) -Codechange: Don't clamp airport construction window size -- this causes very poor performance if the game window is not large enough.
This commit is contained in:
@@ -413,7 +413,7 @@ public:
|
|||||||
* Never make the window smaller to avoid oscillating if the size change affects the acceptance.
|
* Never make the window smaller to avoid oscillating if the size change affects the acceptance.
|
||||||
* (This is the case, if making the window bigger moves the mouse into the window.) */
|
* (This is the case, if making the window bigger moves the mouse into the window.) */
|
||||||
if (top > bottom) {
|
if (top > bottom) {
|
||||||
ResizeWindow(this, 0, top - bottom);
|
ResizeWindow(this, 0, top - bottom, false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user