on xenial help sign in
Extra tweaks
commit73623247cc50c064b700d3e2cb0932882bf4998b authorAndrea Cimitan <andrea.cimitan@gmail.com> dateWed 22 Oct 2014, 16:25 (12 years ago) parente6c8496
2 files changed+4−4
qml/Dash/Previews/PreviewImageGallery.qml+2−2 qml/Dash/Previews/PreviewZoomableImage.qml+2−2
qml/Dash/Previews/PreviewImageGallery.qml+2−2
@@ -97,7 +97,7 @@ PreviewWidget {
9797 x: slideShow.initialX - slideShow.initialX * slideShow.scaleProgress
9898 y: slideShow.initialY - slideShow.initialY * slideShow.scaleProgress
9999 }
100− color: "black"
100+ color: Qt.rgba(0, 0, 0, scaleProgress)
101101 radius: units.gu(1) - units.gu(1) * slideShow.scaleProgress
102102
103103 function open() {
@@ -113,7 +113,7 @@ PreviewWidget {
113113 Behavior on scale {
114114 UbuntuNumberAnimation {
115115 duration: slideShow.opening ? UbuntuAnimation.FastDuration :
116− UbuntuAnimation.FastDuration / 3
116+ UbuntuAnimation.FastDuration / 2
117117 }
118118 }
119119
qml/Dash/Previews/PreviewZoomableImage.qml+2−2
@@ -75,7 +75,7 @@ PreviewWidget {
7575 x: zoomableImageContainer.initialX - zoomableImageContainer.initialX * zoomableImageContainer.scaleProgress
7676 y: zoomableImageContainer.initialY - zoomableImageContainer.initialY * zoomableImageContainer.scaleProgress
7777 }
78− color: "black"
78+ color: Qt.rgba(0, 0, 0, scaleProgress)
7979 radius: units.gu(1) - units.gu(1) * zoomableImageContainer.scaleProgress
8080
8181 function open() {
@@ -91,7 +91,7 @@ PreviewWidget {
9191 Behavior on scale {
9292 UbuntuNumberAnimation {
9393 duration: zoomableImageContainer.opening ? UbuntuAnimation.FastDuration :
94− UbuntuAnimation.FastDuration / 3
94+ UbuntuAnimation.FastDuration / 2
9595 }
9696 }
9797