Browse Source

Merge pull request #2780 from Anixx/patch-1

Taskbar10: Fixed classic theme taskbar dimensions (#2316)
pull/2940/merge
Amr Satrio 2 years ago committed by GitHub
parent
commit
88212b32c3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 4
      ExplorerPatcher/dllmain.c

4
ExplorerPatcher/dllmain.c

@ -8098,9 +8098,9 @@ HRESULT explorer_GetThemeMargins(
} }
else if (hTheme == 0xDeadBeef && iPropId == TMT_SIZINGMARGINS && iPartId == 5 && iStateId == 1) else if (hTheme == 0xDeadBeef && iPropId == TMT_SIZINGMARGINS && iPartId == 5 && iStateId == 1)
{ {
pMargins->cxLeftWidth = 10; pMargins->cxLeftWidth = 0;
pMargins->cyTopHeight = 10; pMargins->cyTopHeight = 10;
pMargins->cxRightWidth = 10; pMargins->cxRightWidth = 0;
pMargins->cyBottomHeight = 10; pMargins->cyBottomHeight = 10;
} }
else if (hTheme = 0xABadBabe && iPropId == TMT_CONTENTMARGINS && iPartId == 3 && iStateId == 0) else if (hTheme = 0xABadBabe && iPropId == TMT_CONTENTMARGINS && iPartId == 3 && iStateId == 0)

Loading…
Cancel
Save