Changeset View
Changeset View
Standalone View
Standalone View
wallpapers/image/imagepackage/contents/ui/main.qml
Show First 20 Lines • Show All 190 Lines • ▼ Show 20 Line(s) | 189 | script: { | |||
---|---|---|---|---|---|
191 | otherImage.source = ""; | 191 | otherImage.source = ""; | ||
192 | } | 192 | } | ||
193 | } | 193 | } | ||
194 | } | 194 | } | ||
195 | 195 | | |||
196 | Rectangle { | 196 | Rectangle { | ||
197 | id: backgroundColor | 197 | id: backgroundColor | ||
198 | anchors.fill: parent | 198 | anchors.fill: parent | ||
199 | 199 | visible: ready && (currentImage.status === Image.Ready || otherImage.status === Image.Ready) | |||
200 | visible: ready && (currentImage.status === Image.Ready || otherImage.status === Image.Ready) && | | |||
201 | (currentImage.fillMode === Image.PreserveAspectFit || currentImage.fillMode === Image.Pad | | |||
202 | || otherImage.fillMode === Image.PreserveAspectFit || otherImage.fillMode === Image.Pad) | | |||
203 | color: wallpaper.configuration.Color | 200 | color: wallpaper.configuration.Color | ||
204 | Behavior on color { | 201 | Behavior on color { | ||
205 | ColorAnimation { duration: units.longDuration } | 202 | ColorAnimation { duration: units.longDuration } | ||
206 | } | 203 | } | ||
207 | } | 204 | } | ||
208 | 205 | | |||
209 | Image { | 206 | Image { | ||
210 | id: imageA | 207 | id: imageA | ||
Show All 15 Lines |