Fix media rotation animation.
This commit is contained in:
parent
641a03c988
commit
8726884b21
|
@ -526,7 +526,13 @@ void OverlayWidget::RendererGL::paintTransformedContent(
|
||||||
geometry.controlsOpacity,
|
geometry.controlsOpacity,
|
||||||
1.f - float(geometry.fade)));
|
1.f - float(geometry.fade)));
|
||||||
if (!fillTransparentBackground) {
|
if (!fillTransparentBackground) {
|
||||||
program->setUniformValue("roundRect", Uniform(rect));
|
program->setUniformValue(
|
||||||
|
"roundRect",
|
||||||
|
geometry.roundRadius ? Uniform(rect) : QVector4D(
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
_uniformViewport.x(),
|
||||||
|
_uniformViewport.y()));
|
||||||
program->setUniformValue(
|
program->setUniformValue(
|
||||||
"roundRadius",
|
"roundRadius",
|
||||||
GLfloat(geometry.roundRadius * _factor));
|
GLfloat(geometry.roundRadius * _factor));
|
||||||
|
|
Loading…
Reference in New Issue
Block a user