mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
fix bug in partial screen refresh count in crereader
This commit is contained in:
@@ -134,9 +134,9 @@ function CREReader:goto(pos, is_ignore_jump, pos_type)
|
||||
end
|
||||
self.show_overlap = 0
|
||||
|
||||
if self.rcount == self.rcountmax then
|
||||
if self.rcount >= self.rcountmax then
|
||||
debug("full refresh")
|
||||
self.rcount = 1
|
||||
self.rcount = 0
|
||||
fb:refresh(0)
|
||||
else
|
||||
debug("partial refresh")
|
||||
|
||||
Reference in New Issue
Block a user