Procházet zdrojové kódy

Scale effect in keeping with source image

Donald Carr před 8 roky
rodič
revize
e3eb9fe972
1 změnil soubory, kde provedl 2 přidání a 0 odebrání
  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