summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorMartok <martok@martoks-place.de>2023-01-01 01:18:27 +0100
committerMartok <martok@martoks-place.de>2023-01-04 00:50:26 +0100
commit61dccf993317740479e6a2c2a839cd8deab1bfb6 (patch)
treebfc4a0be9437e7f0e8ac0bdf434585480f4e2d92 /modules
parentcbcf9b9d8eef8a618c6a9c362fb44a85a402070b (diff)
downloaduxp-61dccf993317740479e6a2c2a839cd8deab1bfb6.tar.gz
Issue #2073 - m-c 1454149: Do not advance animated images which are not displayed
Diffstat (limited to 'modules')
-rw-r--r--modules/libpref/init/all.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js
index 09cc48a756..0c867c0756 100644
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -4148,6 +4148,10 @@ pref("image.animated.decode-on-demand.threshold-kb", 262144);
// animation's currently displayed frame.
pref("image.animated.decode-on-demand.batch-size", 6);
+// Resume an animated image from the last displayed frame rather than
+// advancing when out of view.
+pref("image.animated.resume-from-last-displayed", true);
+
// The maximum size, in bytes, of the decoded images we cache
pref("image.cache.size", 5242880);