Procházet zdrojové kódy

Remove binding loop

Change-Id: I02605427fe570cd6eeb5dcb64e243806d9f89174
Donald Carr před 9 roky
rodič
revize
28a26f5801
1 změnil soubory, kde provedl 2 přidání a 1 odebrání
  1. 2 1
      main.qml

+ 2 - 1
main.qml

@@ -17,7 +17,8 @@ Window {
         ImageBoxBody {
             id: picture
             function detonate() { destroyAnimation.start() }
-            fillMode: Image.PreserveAspectFit
+            //I thought this accepted forcing either width/height
+            //fillMode: Image.PreserveAspectFit
             height: implicitHeight/implicitWidth*width
             width: parent.width
             density: 0.01