mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 14:17:12 +02:00
Be sure to set correct PiP maximum size.
This commit is contained in:
parent
5ac628ee4d
commit
7624e74c8b
1 changed files with 3 additions and 1 deletions
|
@ -554,7 +554,9 @@ void PipPanel::setPositionOnScreen(Position position, QRect available) {
|
|||
|
||||
setGeometry(geometry);
|
||||
setMinimumSize(minimalSize);
|
||||
setMaximumSize(maximalSize);
|
||||
setMaximumSize(
|
||||
std::max(minimalSize.width(), maximalSize.width()),
|
||||
std::max(minimalSize.height(), maximalSize.height()));
|
||||
updateDecorations();
|
||||
update();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue