Commit 72b30239 authored by Noah Davis's avatar Noah Davis 🌵
Browse files

ImageViewer: Don't show other images when resizing the ListView

parent dc446f3f
......@@ -663,6 +663,11 @@ Kirigami.Page {
}
delegate: ImageDelegate {
// Don't show other images when resizing the view
visible: ListView.isCurrentItem
|| ((listView.moving || listView.dragging)
&& (index === listView.currentIndex - 1
|| index === listView.currentIndex + 1))
readonly property string display: model.display
currentImageSource: model.imageurl
currentImageMimeType: model.mimeType
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment