From acf91fc2c22dbf8d4d91f5df7e5f2bdfa084112a Mon Sep 17 00:00:00 2001 From: "Adam D. Walling" Date: Tue, 15 Jun 2021 13:15:18 -0400 Subject: [PATCH] Make multiline and vertical tabs work in dark mode Dark mode tab drawing should work for multiline and vertical tabs Close #10017 --- PowerEditor/src/WinControls/TabBar/TabBar.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PowerEditor/src/WinControls/TabBar/TabBar.cpp b/PowerEditor/src/WinControls/TabBar/TabBar.cpp index e198bf97d..73adcc5b6 100644 --- a/PowerEditor/src/WinControls/TabBar/TabBar.cpp +++ b/PowerEditor/src/WinControls/TabBar/TabBar.cpp @@ -882,7 +882,7 @@ LRESULT TabBarPlus::runProc(HWND hwnd, UINT Message, WPARAM wParam, LPARAM lPara } LONG_PTR dwStyle = GetWindowLongPtr(hwnd, GWL_STYLE); - if (!(dwStyle & TCS_OWNERDRAWFIXED) || (dwStyle & TCS_BOTTOM) || (dwStyle & TCS_BUTTONS)) + if (!(dwStyle & TCS_OWNERDRAWFIXED)) { break; }