mirror of https://github.com/OpenTTD/OpenTTD.git
(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:
parent
b8690523d2
commit
cb62e83e0e
|
@ -413,7 +413,7 @@ public:
|
|||
* 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.) */
|
||||
if (top > bottom) {
|
||||
ResizeWindow(this, 0, top - bottom);
|
||||
ResizeWindow(this, 0, top - bottom, false);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue