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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user