(svn r18126) -Codechange: remove duplicate (since r18119) scrollbar capacity/matrix initialisation

This commit is contained in:
rubidium
2009-11-16 20:34:57 +00:00
parent 242bf23835
commit a13fd6ddce
18 changed files with 4 additions and 75 deletions

View File

@@ -262,7 +262,6 @@ public:
this->BuildGrfList();
this->SetWidgetDisabledState(ANGRFW_ADD, this->sel == NULL || this->sel->IsOpenTTDBaseGRF());
this->vscroll.SetCapacity((this->GetWidget<NWidgetBase>(ANGRFW_GRF_LIST)->current_y - WD_FRAMERECT_TOP - WD_FRAMERECT_BOTTOM) / this->resize.step_height);
}
virtual void UpdateWidgetSize(int widget, Dimension *size, const Dimension &padding, Dimension *resize)