ReaderThumbnail: clear cache on rendering mode change

This commit is contained in:
Benoit Pierre
2024-07-15 01:53:43 +02:00
committed by Frans de Jonge
parent 8ced47921a
commit 97735ce496
2 changed files with 5 additions and 0 deletions

View File

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