Compare commits
2
Commits
f6cb7e44c2
...
015c1fb27d
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
015c1fb27d | ||
|
|
968055a24e |
@@ -47,8 +47,7 @@ CarouselView {
|
||||
jumpToIndex(idx);
|
||||
}
|
||||
Component.onDestruction: Wallpapers.stopPreview()
|
||||
onCurrentItemChanged: {
|
||||
if (currentItem)
|
||||
Wallpapers.preview(currentItem.modelData.path);
|
||||
onPreviewIndexChanged: (realIndex, modelData) => {
|
||||
Wallpapers.preview(modelData.path);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user