Always use kThumbnailHeight2 (i.e. 120) for the height of the thumbnail widget.

This fixes the thumbnails for games with resolutions != n*200 in the launcher.

svn-id: r50640
This commit is contained in:
Johannes Schickel 2010-07-04 01:11:37 +00:00
parent acecfcaf69
commit 336cde4b61

View File

@ -182,7 +182,7 @@ void SaveLoadChooser::reflowLayout() {
error("Error when loading position data for Save/Load Thumbnails.");
int thumbW = kThumbnailWidth;
int thumbH = ((g_system->getHeight() % 200 && g_system->getHeight() != 350) ? kThumbnailHeight2 : kThumbnailHeight1);
int thumbH = kThumbnailHeight2;
int thumbX = x + (w >> 1) - (thumbW >> 1);
int thumbY = y + kLineHeight;