diff options
author | Martok <martok@martoks-place.de> | 2023-01-01 01:18:27 +0100 |
---|---|---|
committer | Martok <martok@martoks-place.de> | 2023-01-04 00:50:26 +0100 |
commit | 61dccf993317740479e6a2c2a839cd8deab1bfb6 (patch) | |
tree | bfc4a0be9437e7f0e8ac0bdf434585480f4e2d92 /gfx | |
parent | cbcf9b9d8eef8a618c6a9c362fb44a85a402070b (diff) | |
download | uxp-61dccf993317740479e6a2c2a839cd8deab1bfb6.tar.gz |
Issue #2073 - m-c 1454149: Do not advance animated images which are not displayed
Diffstat (limited to 'gfx')
-rw-r--r-- | gfx/thebes/gfxPrefs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gfx/thebes/gfxPrefs.h b/gfx/thebes/gfxPrefs.h index fa0cd1a864..1bd6e4d5ff 100644 --- a/gfx/thebes/gfxPrefs.h +++ b/gfx/thebes/gfxPrefs.h @@ -431,6 +431,7 @@ private: DECL_GFX_PREF(Live, "image.animated.decode-on-demand.threshold-kb", ImageAnimatedDecodeOnDemandThresholdKB, uint32_t, 256*1024); DECL_GFX_PREF(Live, "image.animated.decode-on-demand.batch-size", ImageAnimatedDecodeOnDemandBatchSize, uint32_t, 6); + DECL_GFX_PREF(Live, "image.animated.resume-from-last-displayed", ImageAnimatedResumeFromLastDisplayed, bool, false); DECL_GFX_PREF(Once, "image.cache.size", ImageCacheSize, int32_t, 5*1024*1024); DECL_GFX_PREF(Once, "image.cache.timeweight", ImageCacheTimeWeight, int32_t, 500); DECL_GFX_PREF(Live, "image.decode-immediately.enabled", ImageDecodeImmediatelyEnabled, bool, false); |