amend vehicle gui

This commit is contained in:
Juanjo
2013-09-26 12:11:59 +00:00
committed by pelya
parent a4c6102822
commit dc853a0a3f

View File

@@ -1670,6 +1670,7 @@ public:
virtual void OnResize()
{
this->vscroll->SetCapacityFromWidget(this, WID_VL_LIST);
this->GetWidget<NWidgetCore>(WID_VL_LIST)->widget_data = (this->vscroll->GetCapacity() << MAT_ROW_START) + (1 << MAT_COL_START);
}
/**