mirror of
https://github.com/Open-Shell/Open-Shell-Menu.git
synced 2026-04-11 17:37:22 +10:00
[ExplorerPatcher] Don't shift custom start button on Win11
This commit is contained in:
@@ -1344,7 +1344,7 @@ static void UpdateStartButtonPosition(const TaskbarInfo* taskBar, const WINDOWPO
|
|||||||
|
|
||||||
// Start button on Win11 is a bit shifted to the right
|
// Start button on Win11 is a bit shifted to the right
|
||||||
// We will shift our Aero button to cover original button
|
// We will shift our Aero button to cover original button
|
||||||
if (IsWin11() && (x == info.rcMonitor.left) && (GetStartButtonType() == START_BUTTON_AERO))
|
if (IsWin11() && (x == info.rcMonitor.left) && (GetStartButtonType() == START_BUTTON_AERO) && !g_epTaskbar)
|
||||||
x += ScaleForDpi(taskBar->taskBar, 6);
|
x += ScaleForDpi(taskBar->taskBar, 6);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user