Explorar o código

Scale effect in keeping with source image

Donald Carr %!s(int64=8) %!d(string=hai) anos
pai
achega
e3eb9fe972
Modificáronse 1 ficheiros con 2 adicións e 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