mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-05 00:36:57 +00:00
SCUMM: Avoid double scaling in Help dialog
This commit is contained in:
parent
4cf0b43c97
commit
a03b3091d2
@ -315,8 +315,8 @@ void HelpDialog::reflowLayout() {
|
||||
int xoff = (_w >> 1) - (w >> 1);
|
||||
|
||||
for (int i = 0; i < _numLines; i++) {
|
||||
_key[i]->resize(xoff + x, y + lineHeight * i, keyW, lineHeight);
|
||||
_dsc[i]->resize(xoff + dscX, y + lineHeight * i, dscW, lineHeight);
|
||||
_key[i]->resize(xoff + x, y + lineHeight * i, keyW, lineHeight, false);
|
||||
_dsc[i]->resize(xoff + dscX, y + lineHeight * i, dscW, lineHeight, false);
|
||||
}
|
||||
|
||||
displayKeyBindings();
|
||||
|
Loading…
Reference in New Issue
Block a user