当前目录仅有一个gif图片时,打开后,显示区域异常

This commit is contained in:
dean_pan 2024-05-07 16:10:05 +08:00
parent d2f81ab87a
commit d6c97acddb
1 changed files with 1 additions and 1 deletions

View File

@ -132,7 +132,7 @@ Rectangle {
}
//pathview
function noticeChangeIndex(changeIndex) {
if (pathView.currentIndex === changeIndex) {
if ((pathView.currentIndex === changeIndex) && (itemCount > 1)) {
return
}
pathView.currentIndex = changeIndex