Skip to content

Commit aba85f6

Browse files
committed
[ExplorerPatcher] Don't shift custom start button on Win11
1 parent 8a3cf28 commit aba85f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: Src/StartMenu/StartMenuDLL/StartMenuDLL.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1344,7 +1344,7 @@ static void UpdateStartButtonPosition(const TaskbarInfo* taskBar, const WINDOWPO
13441344

13451345
// Start button on Win11 is a bit shifted to the right
13461346
// We will shift our Aero button to cover original button
1347-
if (IsWin11() && (x == info.rcMonitor.left) && (GetStartButtonType() == START_BUTTON_AERO))
1347+
if (IsWin11() && (x == info.rcMonitor.left) && (GetStartButtonType() == START_BUTTON_AERO) && !g_epTaskbar)
13481348
x += ScaleForDpi(taskBar->taskBar, 6);
13491349
}
13501350

0 commit comments

Comments
 (0)