mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-09-23 23:00:42 +00:00
Undo lower-screen offset of main window in touchscreen mode
This commit is contained in:
@@ -226,8 +226,7 @@ void OpenMainWindow (void)
|
||||
const short mainWindowLeft = (thisMac.fullScreen.left + thisMac.fullScreen.right + thisMac.constrainedScreen.left - thisMac.constrainedScreen.right) / 2;
|
||||
short mainWindowTop = (thisMac.fullScreen.top + thisMac.fullScreen.bottom + thisMac.constrainedScreen.top - thisMac.constrainedScreen.bottom) / 2;
|
||||
|
||||
if (!PortabilityLayer::MenuManager::GetInstance()->IsMenuTouchScreenStyle())
|
||||
mainWindowTop += kScoreboardTall;
|
||||
mainWindowTop += kScoreboardTall;
|
||||
|
||||
MoveWindow(boardWindow, mainWindowLeft, 0, true);
|
||||
MoveWindow(mainWindow, mainWindowLeft, mainWindowTop, true); // thisMac.menuHigh
|
||||
|
Reference in New Issue
Block a user