From 596c4a06a3c7c7660c494144c5a9b1731286aa68 Mon Sep 17 00:00:00 2001 From: John Preston Date: Mon, 22 Nov 2021 13:07:14 +0400 Subject: [PATCH] Use button colors for the calendar selections. --- Telegram/SourceFiles/ui/boxes/calendar_box.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Telegram/SourceFiles/ui/boxes/calendar_box.cpp b/Telegram/SourceFiles/ui/boxes/calendar_box.cpp index 6740291de3..b6ec110303 100644 --- a/Telegram/SourceFiles/ui/boxes/calendar_box.cpp +++ b/Telegram/SourceFiles/ui/boxes/calendar_box.cpp @@ -465,7 +465,7 @@ void CalendarBox::Inner::paintRows(Painter &p, QRect clip) { if (selectedInRow > 0) { auto hq = PainterHighQualityEnabler(p); p.setPen(Qt::NoPen); - p.setBrush(st::dialogsRippleBgActive); + p.setBrush(st::activeButtonBg); p.drawRoundedRect( (x + (selectedFrom - index) * _st.cellSize.width() @@ -508,7 +508,7 @@ void CalendarBox::Inner::paintRows(Painter &p, QRect clip) { } } p.setPen(selected - ? st::dialogsNameFgActive + ? st::activeButtonFg : highlighted ? (grayedOut ? st::windowSubTextFg : st::dialogsNameFgActive) : enabled