ReaderThumbnail: clear cache on rendering mode change

This commit is contained in:
Benoit Pierre authored and Frans de Jonge committed 2024-07-19 21:32:20 +02:00
1 parent 8ced47921a
commit 97735ce496
2 files changed
+5

No files matched your search

@@ -542,6 +542,10 @@ function ReaderThumbnail:onCloseDocument()
end
end
function ReaderThumbnail:onRenderingModeUpdate()
self:resetCache()
end
function ReaderThumbnail:onColorRenderingUpdate()
self:setupColor()
self:resetCache()