summary refs log tree commit diff
path: root/resources
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2021-08-29 15:33:39 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2021-08-29 16:32:28 +0200
commit15bf643347e507513d6999dd346f0cce9c7952c8 (patch)
treef0b0470e0731e063021b57165391a2b5597ecaf3 /resources
parentcleanup QSettings usage a bit (diff)
downloadnheko-15bf643347e507513d6999dd346f0cce9c7952c8.tar.xz
Add option to only play animated images on hover
Diffstat (limited to 'resources')
-rw-r--r--resources/qml/delegates/ImageMessage.qml1
1 files changed, 1 insertions, 0 deletions
diff --git a/resources/qml/delegates/ImageMessage.qml b/resources/qml/delegates/ImageMessage.qml
index f39176b3..64e365c8 100644
--- a/resources/qml/delegates/ImageMessage.qml
+++ b/resources/qml/delegates/ImageMessage.qml
@@ -63,6 +63,7 @@ Item {
         visible: loaded
         anchors.fill: parent
         roomm: room
+        play: !Settings.animateImagesOnHover || mouseArea.hovered
         eventId: parent.eventId
     }