Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --- main.qml 2015-07-30 22:06:43.973819787 +0200
- +++ main_workaround.qml 2015-07-30 22:37:43.749425216 +0200
- @@ -49,7 +49,6 @@
- //private
- function fadeWallpaper() {
- if (!ready && width > 0 && height > 0) { // shell startup, setup immediately
- - currentImage.sourceSize = Qt.size(root.width, root.height)
- currentImage.source = modelImage
- ready = true
- @@ -59,7 +58,6 @@
- fadeAnim.running = false
- swapImages()
- currentImage.source = modelImage
- - currentImage.sourceSize = Qt.size(root.width, root.height)
- // Prevent source size change when image has just been setup anyway
- sourceSizeTimer.stop()
- currentImage.opacity = 0
- @@ -74,7 +72,6 @@
- function fadeFillMode() {
- fadeAnim.running = false
- swapImages()
- - currentImage.sourceSize = otherImage.sourceSize
- sourceSizeTimer.stop()
- currentImage.source = modelImage
- currentImage.opacity = 0
- @@ -87,13 +84,10 @@
- }
- function fadeSourceSize() {
- - if (currentImage.sourceSize === Qt.size(root.width, root.height)) {
- return
- - }
- fadeAnim.running = false
- swapImages()
- - currentImage.sourceSize = Qt.size(root.width, root.height)
- currentImage.opacity = 0
- currentImage.source = otherImage.source
- otherImage.z = 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement