on xenial help sign in
Extra tweaks
7362324Andrea Cimitan
qml/Dash/Previews/PreviewImageGallery.qml+2−2
@@ -97,7 +97,7 @@ PreviewWidget {
97 x: slideShow.initialX - slideShow.initialX * slideShow.scaleProgress
97 x: slideShow.initialX - slideShow.initialX * slideShow.scaleProgress
98 y: slideShow.initialY - slideShow.initialY * slideShow.scaleProgress
98 y: slideShow.initialY - slideShow.initialY * slideShow.scaleProgress
99 }
99 }
100− color: "black"
100+ color: Qt.rgba(0, 0, 0, scaleProgress)
101 radius: units.gu(1) - units.gu(1) * slideShow.scaleProgress
101 radius: units.gu(1) - units.gu(1) * slideShow.scaleProgress
102
102
103 function open() {
103 function open() {
@@ -113,7 +113,7 @@ PreviewWidget {
113 Behavior on scale {
113 Behavior on scale {
114 UbuntuNumberAnimation {
114 UbuntuNumberAnimation {
115 duration: slideShow.opening ? UbuntuAnimation.FastDuration :
115 duration: slideShow.opening ? UbuntuAnimation.FastDuration :
116− UbuntuAnimation.FastDuration / 3
116+ UbuntuAnimation.FastDuration / 2
117 }
117 }
118 }
118 }
119
119
qml/Dash/Previews/PreviewZoomableImage.qml+2−2
@@ -75,7 +75,7 @@ PreviewWidget {
75 x: zoomableImageContainer.initialX - zoomableImageContainer.initialX * zoomableImageContainer.scaleProgress
75 x: zoomableImageContainer.initialX - zoomableImageContainer.initialX * zoomableImageContainer.scaleProgress
76 y: zoomableImageContainer.initialY - zoomableImageContainer.initialY * zoomableImageContainer.scaleProgress
76 y: zoomableImageContainer.initialY - zoomableImageContainer.initialY * zoomableImageContainer.scaleProgress
77 }
77 }
78− color: "black"
78+ color: Qt.rgba(0, 0, 0, scaleProgress)
79 radius: units.gu(1) - units.gu(1) * zoomableImageContainer.scaleProgress
79 radius: units.gu(1) - units.gu(1) * zoomableImageContainer.scaleProgress
80
80
81 function open() {
81 function open() {
@@ -91,7 +91,7 @@ PreviewWidget {
91 Behavior on scale {
91 Behavior on scale {
92 UbuntuNumberAnimation {
92 UbuntuNumberAnimation {
93 duration: zoomableImageContainer.opening ? UbuntuAnimation.FastDuration :
93 duration: zoomableImageContainer.opening ? UbuntuAnimation.FastDuration :
94− UbuntuAnimation.FastDuration / 3
94+ UbuntuAnimation.FastDuration / 2
95 }
95 }
96 }
96 }
97
97