on xenial help sign in
Fix as review
commit77dc719873f0387d3bcf0ba57ae388917e793caf authorAndrea Cimitan <andrea.cimitan@gmail.com> dateTue 10 Mar 2015, 11:52 (12 years ago) parentef7a486
1 file changed+7−1
qml/Dash/Previews/PreviewImageGallery.qml+7−1
qml/Dash/Previews/PreviewImageGallery.qml+7−1
@@ -103,7 +103,13 @@ PreviewWidget {
103103 onCurrentIndexChanged: {
104104 // if the index changed while overlay is visible, it was from user interaction,
105105 // let's update the index of the original listview
106− if (overlay.visible) previewImageListView.currentIndex = currentIndex;
106+ if (overlay.visible) {
107+ previewImageListView.highlightMoveDuration = 0;
108+ previewImageListView.highlightResizeDuration = 0;
109+ previewImageListView.currentIndex = currentIndex;
110+ previewImageListView.highlightMoveDuration = -1;
111+ previewImageListView.highlightResizeDuration = -1;
112+ }
107113 }
108114
109115 delegate: Image {