mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-19 15:47:11 +02:00
Update lib_ui.
This commit is contained in:
parent
ad0c93cbb1
commit
aa843ee978
3 changed files with 3 additions and 5 deletions
|
@ -393,7 +393,7 @@ callErrorToast: Toast(defaultToast) {
|
|||
groupCallWidth: 380px;
|
||||
groupCallHeight: 580px;
|
||||
|
||||
groupCallMuteButtonIconSize: size(69px, 69px);
|
||||
groupCallMuteButtonIconSize: size(67px, 67px);
|
||||
groupCallMuteButtonIconTop: 35px;
|
||||
groupCallRipple: RippleAnimation(defaultRippleAnimation) {
|
||||
color: groupCallMembersBgRipple;
|
||||
|
|
|
@ -461,7 +461,6 @@ void MainWindow::recountGeometryConstraints() {
|
|||
}
|
||||
|
||||
void MainWindow::initSize() {
|
||||
updateShadowSize();
|
||||
updateMinimumSize();
|
||||
|
||||
if (initSizeFromSystem()) {
|
||||
|
@ -563,7 +562,6 @@ void MainWindow::initSize() {
|
|||
}
|
||||
maximized = position.maximized;
|
||||
}
|
||||
geometry += _padding;
|
||||
DEBUG_LOG(("Window Pos: Setting first %1, %2, %3, %4").arg(geometry.x()).arg(geometry.y()).arg(geometry.width()).arg(geometry.height()));
|
||||
setGeometry(geometry);
|
||||
}
|
||||
|
@ -681,7 +679,7 @@ void MainWindow::savePosition(Qt::WindowState state) {
|
|||
realPosition.maximized = 1;
|
||||
DEBUG_LOG(("Window Pos: Saving maximized position."));
|
||||
} else {
|
||||
auto r = geometry().marginsRemoved(_padding);
|
||||
auto r = geometry();
|
||||
realPosition.x = r.x();
|
||||
realPosition.y = r.y();
|
||||
realPosition.w = r.width() - (_rightColumn ? _rightColumn->width() : 0);
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 51b4074cc9fba089d01f6f27835f15b05bec83fb
|
||||
Subproject commit a37e28d2f3bb7ef306ce1b54db3cace902d363e6
|
Loading…
Add table
Reference in a new issue