diff --git a/PowerEditor/src/WinControls/TabBar/TabBar.cpp b/PowerEditor/src/WinControls/TabBar/TabBar.cpp index f041c464d..37336ea2b 100644 --- a/PowerEditor/src/WinControls/TabBar/TabBar.cpp +++ b/PowerEditor/src/WinControls/TabBar/TabBar.cpp @@ -1475,7 +1475,13 @@ void TabBarPlus::drawItem(DRAWITEMSTRUCT* pDrawItemStruct, bool isDarkMode) { brushColour = colorActiveBg; } - + + if (_currentHoverTabItem == nTab && brushColour != colorActiveBg) // hover on a "darker" inactive tab + { + HLSColour hls(brushColour); + brushColour = hls.toRGB4DarkModWithTuning(15, 0); // make it lighter slightly + } + hBrush = ::CreateSolidBrush(brushColour); ::FillRect(hDC, &inactiveRect, hBrush); ::DeleteObject(static_cast(hBrush)); diff --git a/PowerEditor/src/icons/dark/tabbar/closeTabButton_hoverOnTab.ico b/PowerEditor/src/icons/dark/tabbar/closeTabButton_hoverOnTab.ico index 517435b8b..58cfcdc48 100644 Binary files a/PowerEditor/src/icons/dark/tabbar/closeTabButton_hoverOnTab.ico and b/PowerEditor/src/icons/dark/tabbar/closeTabButton_hoverOnTab.ico differ