Image viewer open: pause timeline URL preview GIF
This commit is contained in:
@@ -65,6 +65,7 @@ HMxcImage {
|
||||
clientUserId: chat.userId
|
||||
title: thumbnail ? loader.thumbnailTitle : loader.title
|
||||
animated: eventList.isAnimated(loader.singleMediaInfo, loader.mediaUrl)
|
||||
forcePause: Object.keys(window.visiblePopups).length > 0
|
||||
thumbnail: ! animated && loader.thumbnailMxc
|
||||
mxc: thumbnail ?
|
||||
(loader.thumbnailMxc || loader.mediaUrl) :
|
||||
@@ -75,14 +76,10 @@ HMxcImage {
|
||||
loader.singleMediaInfo.media_crypt_dict
|
||||
)
|
||||
|
||||
|
||||
onCachedPathChanged:
|
||||
eventList.thumbnailCachedPaths[loader.singleMediaInfo.id] = cachedPath
|
||||
|
||||
Binding on pause {
|
||||
value: true
|
||||
when: Object.keys(window.visiblePopups).length > 0
|
||||
}
|
||||
|
||||
TapHandler {
|
||||
acceptedButtons: Qt.LeftButton
|
||||
acceptedModifiers: Qt.NoModifier
|
||||
|
Reference in New Issue
Block a user