mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
on finish of pan gesture when scrolling, do partial refresh
it was set to a full refresh. However, we want to behave as if in non-scrolling mode and issue a partial refresh. That might get updated to a full refresh if the full-refresh counter has reached the limit - which is configurable.
This commit is contained in:
@@ -344,8 +344,8 @@ function ReaderPaging:onPanRelease(arg, ges)
|
||||
end
|
||||
else
|
||||
self.last_pan_relative_y = 0
|
||||
-- trigger full refresh
|
||||
UIManager:setDirty(nil, "full")
|
||||
-- trigger partial refresh
|
||||
UIManager:setDirty(nil, "partial")
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user