Improve style of desktop capture source choosing.

This commit is contained in:
John Preston 2021-06-01 13:58:15 +04:00
parent 003da28699
commit 5a6e8a0a8c
2 changed files with 5 additions and 3 deletions

View file

@ -1130,6 +1130,8 @@ desktopCaptureMargins: margins(12px, 8px, 12px, 6px);
desktopCaptureSourceSize: size(235px, 165px);
desktopCaptureSourceSkips: size(2px, 10px);
desktopCaptureSourceTitle: WindowTitle(groupCallTitle) {
bg: groupCallMembersBgOver;
bgActive: groupCallMembersBgOver;
height: 21px;
}
desktopCapturePadding: margins(7px, 7px, 7px, 33px);
@ -1145,8 +1147,8 @@ desktopCaptureCancel: RoundButton(defaultBoxButton) {
textFgOver: groupCallActiveFg;
numbersTextFg: groupCallActiveFg;
numbersTextFgOver: groupCallActiveFg;
textBg: groupCallBg;
textBgOver: groupCallMembersBg;
textBg: groupCallMembersBg;
textBgOver: groupCallMembersBgOver;
ripple: groupCallRipple;
}

View file

@ -325,7 +325,7 @@ void ChooseSourceProcess::setupPanel() {
_window->body()->paintRequest(
) | rpl::start_with_next([=](QRect clip) {
QPainter(_window->body()).fillRect(clip, st::groupCallBg);
QPainter(_window->body()).fillRect(clip, st::groupCallMembersBg);
}, _window->lifetime());
_bottom->setGeometry(0, height - bottomHeight, width, bottomHeight);