ReaderThumbnail: clear cache on rendering mode change
This commit is contained in:
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()
|
||||
|
||||
Reference in new issue
Block a user