Fixed file selector GUI once again

This commit is contained in:
pelya
2014-03-22 02:32:54 +02:00
parent c6f20c52b8
commit 9f48f8fab6
2 changed files with 1 additions and 3 deletions

View File

@@ -362,7 +362,7 @@ public:
if (item == this->selected) {
GfxFillRect(r.left + 1, y, r.right, y + this->resize.step_height, PC_DARK_BLUE);
}
DrawString(r.left + WD_FRAMERECT_LEFT, r.right - WD_FRAMERECT_RIGHT, y + this->resize.step_height / 2, item->title, _fios_colours[item->type]);
DrawString(r.left + WD_FRAMERECT_LEFT, r.right - WD_FRAMERECT_RIGHT, Center(y, this->resize.step_height), item->title, _fios_colours[item->type]);
y += this->resize.step_height;
if (y >= this->vscroll->GetCapacity() * this->resize.step_height + r.top + WD_FRAMERECT_TOP) break;
}

View File

@@ -1,4 +1,2 @@
- Fix NewGRF dialog
- Fix Advanced Settings dialog
- Add Load button to Play Heightmap dialog
- Fix heightmaps failing to load