Skip to content

Commit

Permalink
Add dark theme support for Toolbar Tooltips
Browse files Browse the repository at this point in the history
  • Loading branch information
DartVanya committed Aug 10, 2024
1 parent 4c1ec8b commit a5b0481
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions plugins/ToolStatus/toolbar.c
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,11 @@ VOID RebarCreateOrUpdateWindow(
if (StatusBarHandle && IsWindowVisible(StatusBarHandle))
ShowWindow(StatusBarHandle, SW_HIDE);
}
if (!!PhGetIntegerSetting(L"EnableThemeSupport")) {
HWND hTips = (HWND)SendMessage(ToolBarHandle, TB_GETTOOLTIPS, 0, 0);
if (hTips)
PhSetControlTheme(hTips, L"DarkMode_Explorer");
}

ToolbarInitialized = TRUE;
}
Expand Down

0 comments on commit a5b0481

Please sign in to comment.