2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-10-25 15:16:15 +00:00

Fix PiP window on macOS.

This commit is contained in:
John Preston
2020-01-29 18:54:40 +03:00
parent 0fbd263562
commit 4d737b35da
5 changed files with 11 additions and 10 deletions

View File

@@ -398,7 +398,6 @@ void SeparatePanel::paintEvent(QPaintEvent *e) {
finishAnimating();
if (isHidden()) return;
} else {
Ui::Platform::StartTranslucentPaint(p, e);
p.setOpacity(opacity);
PainterHighQualityEnabler hq(p);
@@ -419,7 +418,6 @@ void SeparatePanel::paintEvent(QPaintEvent *e) {
}
if (_useTransparency) {
Ui::Platform::StartTranslucentPaint(p, e);
paintShadowBorder(p);
} else {
paintOpaqueBorder(p);