mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-30 14:17:45 +00:00
Improve style of desktop capture source choosing.
This commit is contained in:
@@ -1130,6 +1130,8 @@ desktopCaptureMargins: margins(12px, 8px, 12px, 6px);
|
|||||||
desktopCaptureSourceSize: size(235px, 165px);
|
desktopCaptureSourceSize: size(235px, 165px);
|
||||||
desktopCaptureSourceSkips: size(2px, 10px);
|
desktopCaptureSourceSkips: size(2px, 10px);
|
||||||
desktopCaptureSourceTitle: WindowTitle(groupCallTitle) {
|
desktopCaptureSourceTitle: WindowTitle(groupCallTitle) {
|
||||||
|
bg: groupCallMembersBgOver;
|
||||||
|
bgActive: groupCallMembersBgOver;
|
||||||
height: 21px;
|
height: 21px;
|
||||||
}
|
}
|
||||||
desktopCapturePadding: margins(7px, 7px, 7px, 33px);
|
desktopCapturePadding: margins(7px, 7px, 7px, 33px);
|
||||||
@@ -1145,8 +1147,8 @@ desktopCaptureCancel: RoundButton(defaultBoxButton) {
|
|||||||
textFgOver: groupCallActiveFg;
|
textFgOver: groupCallActiveFg;
|
||||||
numbersTextFg: groupCallActiveFg;
|
numbersTextFg: groupCallActiveFg;
|
||||||
numbersTextFgOver: groupCallActiveFg;
|
numbersTextFgOver: groupCallActiveFg;
|
||||||
textBg: groupCallBg;
|
textBg: groupCallMembersBg;
|
||||||
textBgOver: groupCallMembersBg;
|
textBgOver: groupCallMembersBgOver;
|
||||||
|
|
||||||
ripple: groupCallRipple;
|
ripple: groupCallRipple;
|
||||||
}
|
}
|
||||||
|
@@ -325,7 +325,7 @@ void ChooseSourceProcess::setupPanel() {
|
|||||||
|
|
||||||
_window->body()->paintRequest(
|
_window->body()->paintRequest(
|
||||||
) | rpl::start_with_next([=](QRect clip) {
|
) | rpl::start_with_next([=](QRect clip) {
|
||||||
QPainter(_window->body()).fillRect(clip, st::groupCallBg);
|
QPainter(_window->body()).fillRect(clip, st::groupCallMembersBg);
|
||||||
}, _window->lifetime());
|
}, _window->lifetime());
|
||||||
|
|
||||||
_bottom->setGeometry(0, height - bottomHeight, width, bottomHeight);
|
_bottom->setGeometry(0, height - bottomHeight, width, bottomHeight);
|
||||||
|
Reference in New Issue
Block a user