mirror of https://github.com/OpenTTD/OpenTTD
(svn r13176) -Fix (r13153): town window was glitchy while opening
parent
fa72187bbf
commit
290cedade2
|
@ -305,6 +305,8 @@ struct TownViewWindow : Window {
|
||||||
this->widget[TVW_CHANGENAME].bottom = this->widget[TVW_EXPAND].bottom;
|
this->widget[TVW_CHANGENAME].bottom = this->widget[TVW_EXPAND].bottom;
|
||||||
this->widget[TVW_CHANGENAME].right = this->widget[TVW_STICKY].right;
|
this->widget[TVW_CHANGENAME].right = this->widget[TVW_STICKY].right;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
this->FindWindowPlacementAndResize(desc);
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual void OnPaint()
|
virtual void OnPaint()
|
||||||
|
|
Loading…
Reference in New Issue