mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 22:54:01 +02:00
Improve style of desktop capture source choosing.
This commit is contained in:
parent
003da28699
commit
5a6e8a0a8c
2 changed files with 5 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue