bugfix: fix screen ghosting after swiping north/south in scroll mode

As swiping north/south will generate several pan gestures which will
set refresh mode to WAVEFORM_MODE_A2, we should explicitly do a full
refresh in order to switch refresh waveform from WAVEFORM_MODE_A2
to WAVEFORM_MODE_GC16 as in OnPanRelease.
This commit is contained in:
chrox
2013-08-17 11:01:57 +08:00
parent 777273c4cb
commit 75eb0e6f23

View File

@@ -220,6 +220,8 @@ function ReaderPaging:onSwipe(arg, ges)
self:onPagingRel(1)
elseif ges.direction == "east" then
self:onPagingRel(-1)
else
UIManager.full_refresh = true
end
return true
end