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:
Hans-Werner Hilse
2014-11-30 17:30:37 +00:00
parent 745e3837e0
commit c4a9903162

View File

@@ -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