Skip to content

Commit 1e03bc4

Browse files
fix: follow note ink colour for the resize hint
1 parent 0f6bc62 commit 1e03bc4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎src/main.cpp‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1196,7 +1196,7 @@ void DrawControl(HWND parent, const DRAWITEMSTRUCT* item) {
11961196
return;
11971197
}
11981198
if (item->CtlID == kControlGrip) {
1199-
HPEN pen = CreatePen(PS_SOLID, std::max(1, ScaleForDpi(parent, 1)), BlendColor(kBackground, kText, 40));
1199+
HPEN pen = CreatePen(PS_SOLID, std::max(1, ScaleForDpi(parent, 1)), BlendColor(kBackground, kNoteText, 40));
12001200
SelectObject(item->hDC, pen);
12011201
for (int offset : {5, 9}) {
12021202
MoveToEx(item->hDC, rect.right - ScaleForDpi(parent, offset + 3), rect.bottom - ScaleForDpi(parent, 4),
@@ -2269,7 +2269,7 @@ void DrawCompositedDecorations(RECT outer) {
22692269
static_cast<float>(grip.bottom - ScaleForDpi(g_window, 4)),
22702270
static_cast<float>(grip.right - ScaleForDpi(g_window, 4)),
22712271
static_cast<float>(grip.bottom - ScaleForDpi(g_window, offset + 3)),
2272-
static_cast<float>(ScaleForDpi(g_window, 1)), kText, g_highContrast ? 255 : 110);
2272+
static_cast<float>(ScaleForDpi(g_window, 1)), kNoteText, g_highContrast ? 255 : 110);
22732273
}
22742274
if (IsWindowVisible(g_pill) && GetFocus() == g_pill) {
22752275
RECT focus = pill;

0 commit comments

Comments
 (0)