Explorar el Código

Scale effect in keeping with source image

Donald Carr hace 8 años
padre
commit
e3eb9fe972
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      qml/common/VisualEffect.qml

+ 2 - 0
qml/common/VisualEffect.qml

@@ -10,7 +10,9 @@ Item {
 
     function scheduleUpdate() { effectSource.scheduleUpdate() }
 
+    transformOrigin: Item.TopLeft
     anchors.fill: target
+    scale: target.scale
 
     ShaderEffectSource {
         id: effectSource