mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 22:54:01 +02:00
Fix controls in PiP video player.
This commit is contained in:
parent
b1fad4f7e0
commit
5ab8a7d9c5
3 changed files with 3 additions and 2 deletions
|
@ -145,6 +145,7 @@ void OverlayWidget::RendererGL::paint(
|
|||
_factor = factor;
|
||||
_controlsImage.invalidate();
|
||||
}
|
||||
_blendingEnabled = false;
|
||||
_viewport = widget->size();
|
||||
_uniformViewport = QVector2D(
|
||||
_viewport.width() * _factor,
|
||||
|
|
|
@ -263,6 +263,7 @@ void Pip::RendererGL::paint(
|
|||
_factor = factor;
|
||||
_controlsImage.invalidate();
|
||||
}
|
||||
_blendingEnabled = false;
|
||||
_viewport = widget->size();
|
||||
_uniformViewport = QVector2D(
|
||||
_viewport.width() * _factor,
|
||||
|
@ -429,7 +430,6 @@ void Pip::RendererGL::paintTransformedContent(
|
|||
float(st::radialBg->c.blueF() * fadeAlpha),
|
||||
float(fadeAlpha)));
|
||||
|
||||
toggleBlending(true);
|
||||
FillTexturedRectangle(*_f, &*program);
|
||||
}
|
||||
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 9294c8c695554c94800cb68066c9b02729a3d300
|
||||
Subproject commit 802918dd11eba3382ae9607babf01db47e232f58
|
Loading…
Add table
Reference in a new issue