(svn r17850) -Codechange: remove most usage of delta on OnResize

This commit is contained in:
rubidium
2009-10-24 09:47:02 +00:00
parent 343586484b
commit 51936e1903
4 changed files with 4 additions and 8 deletions

View File

@@ -1051,7 +1051,7 @@ struct StationViewWindow : public Window {
virtual void OnResize(Point delta)
{
if (delta.x != 0) ResizeButtons(this, SVW_LOCATION, SVW_RENAME);
ResizeButtons(this, SVW_LOCATION, SVW_RENAME);
this->vscroll.SetCapacity((this->widget[SVW_WAITING].bottom - this->widget[SVW_WAITING].top + 1) / this->resize.step_height);
}
};