Skip to content

Commit b220bfc

Browse files
committed
draw menu trigger using theme color
1 parent 19043ce commit b220bfc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Caption.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -560,7 +560,8 @@ static void DrawCaptionButton(DRAWITEMSTRUCT* item, MainWindow* win) {
560560
gfx.FillRectangle(&br, rc.x, rc.y, rc.dx, rc.dy);
561561
}
562562
// draw the three lines
563-
COLORREF c = win->caption->textColor;
563+
//COLORREF c = win->caption->textColor;
564+
COLORREF c = gCurrentTheme->window.textColor;
564565
u8 r, g, b;
565566
UnpackColor(c, r, g, b);
566567
float width = floor((float)rc.dy / 8.0f);

0 commit comments

Comments
 (0)