Fixed #385: Display panel did not show Line Mode in the right position under SDL1
This commit is contained in:
parent
10aa6bc9a7
commit
408c5e4d16
1 changed files with 3 additions and 0 deletions
|
@ -274,6 +274,9 @@ void InitPanelDisplay(const struct _ConfigCategory& category)
|
|||
grpLineMode->setSize(optScanlines->getWidth() + DISTANCE_BORDER, optScanlines->getY() + optScanlines->getHeight() + 30);
|
||||
grpLineMode->setBaseColor(gui_baseCol);
|
||||
category.panel->add(grpLineMode);
|
||||
#ifndef USE_SDL2
|
||||
posY += DISTANCE_BORDER + grpLineMode->getHeight() + DISTANCE_NEXT_Y;
|
||||
#endif
|
||||
|
||||
category.panel->add(chkAspect, DISTANCE_BORDER, posY);
|
||||
category.panel->add(chkFullscreen, chkAspect->getX() + chkAspect->getWidth() + DISTANCE_NEXT_X * 2, posY);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue