Skip to content

Commit 064577b

Browse files
kjkclaude
andcommitted
always draw splitter with accent background color
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 2cc0b1c commit 064577b

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

src/wingui/Splitter.cpp

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -197,11 +197,7 @@ LRESULT Splitter::WndProc(HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam) {
197197
}
198198

199199
if (WM_PAINT == msg) {
200-
COLORREF col = bgColor;
201-
if (isMouseOver) {
202-
col = AccentColor(bgColor, 30);
203-
}
204-
OnSplitterPaint(hwnd, col);
200+
OnSplitterPaint(hwnd, AccentColor(bgColor, 30));
205201
return 0;
206202
}
207203

0 commit comments

Comments
 (0)