Skip to content

Commit 4943938

Browse files
committed
[ExplorerPatcher] Don't shift custom start button on Win11
1 parent d5c5617 commit 4943938

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Src/StartMenu/StartMenuDLL/StartMenuDLL.cpp

Lines changed: 1 addition & 1 deletion
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)