Skip to content

Commit

Permalink
Additional adjustments against vertical Taskbar's vertical black line…
Browse files Browse the repository at this point in the history
…s on mouse over.
  • Loading branch information
levitation committed Aug 8, 2024
1 parent ee622b2 commit 9c2496f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions mods/classic-taskbar-background-fix.wh.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -563,12 +563,12 @@ BOOL WINAPI DrawFrameControlHook(

if (g_compatWithTaskbarButtonsModsConfig == CompatWithTaskbarButtonsModsConfig::classicTaskbarButtonsLite) {

fillRect.left = max(fillRect.left - 2, hdcRect.left);
fillRect.right = min(fillRect.right + 2, hdcRect.right);
fillRect.left = max(fillRect.left - 3, hdcRect.left);
fillRect.right = min(fillRect.right + 3, hdcRect.right);
}
else {
fillRect.left = max(fillRect.left - 1, hdcRect.left);
fillRect.right = min(fillRect.right + 1, hdcRect.right);
fillRect.left = max(fillRect.left - 2, hdcRect.left);
fillRect.right = min(fillRect.right + 2, hdcRect.right);
}
}

Expand Down

0 comments on commit 9c2496f

Please sign in to comment.