forked from mirror/OpenTTD
(svn r13176) -Fix (r13153): town window was glitchy while opening
This commit is contained in:
@@ -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()
|
||||||
|
Reference in New Issue
Block a user