You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
koreader/frontend
NiLuJe d8fc28df97
Page Overlap: Fix rectangle computation and arrow mode (#7269)
* In ReaderPaging, the panning step pre-PanningUpdate can be wildly overshot near page edges, so, use the corrected value instead by recomputing it after the panning has been effectively computed by ReaderView.
This fixes slight inaccuracies, as well as glaring mistakes when going backwards, or when near page edges.
This is in line with how ReaderRolling computes the value, which I only realized later because I'm an idiot. 
* Minor cleanups around the handling of the dim_area Geom object in general.

* Fix the "Arrow" page overlap mode to be painted in the right coordinates when going backward. Issue might not have been terribly clear because of the previous issue ;).
* Center the arrow's point, while we're here.
* Don't use AlphaContainer to make it translucent, because AlphaContainer is horribly broken, and has weird quirks and behavior that make no sense to me unless some very specific and unlikely constraints are met, and they definitely aren't here.
This fixes the arrow copying an arrow-sized square of the original page the book was opened on on the top-left corner of *every* page with an arrow. (lol).
* Do real proper alpha-blending via Icon/ImageWidget from the original icon, instead of faking it via addBlitFrom, in order to avoid the dimming *around* the triangle's shape.
3 years ago
..
apps Page Overlap: Fix rectangle computation and arrow mode (#7269) 3 years ago
device Remarkable1 wifi (#7216) 3 years ago
document Add a few more mimetypes for OPDS (#7258) 3 years ago
ui Page Overlap: Fix rectangle computation and arrow mode (#7269) 3 years ago
cache.lua More Android trickery (#7059) 3 years ago
cacheitem.lua cleanup: expand tab to 4 spaces 10 years ago
configurable.lua decouple UI definitions from document modules 5 years ago
dbg.lua [Kobo] Support USBMS exports (#6552) 4 years ago
depgraph.lua Tame a few tests that relied on `pairs` being somewhat deterministic (#6371) 4 years ago
device.lua Remarkable port (#5828) 4 years ago
dispatcher.lua Dispatcher: increase hold_step for usability 3 years ago
docsettings.lua History: show last read date instead of file size 4 years ago
dump.lua Order keys in settings.reader.lua (#6868) 4 years ago
fontlist.lua migrate fontlist to persist 3 years ago
gettext.lua [fix] Always initiate empty context table (#6874) 4 years ago
httpclient.lua build: enforce luacheck in travis build 8 years ago
logger.lua use android log categories 5 years ago
luadata.lua Use fsync() for more robust setting files saving 5 years ago
luasettings.lua Add fall back to text selection option to panel zoom (#6960) 3 years ago
luxl.lua [fix] Don't break OPDS parsing on HR tags (#5949) 4 years ago
optmath.lua [[doc] Add documentation to optmath (#6258) 4 years ago
persist.lua add table persistence module 3 years ago
pluginloader.lua Mark calibrecompanion plugin as obsolete (#7147) 3 years ago
pluginshare.lua Move PluginShare.backgroundJobs into PluginShare module (#3128) 7 years ago
random.lua Faster blitting @ BB8/BBRGB32 when no processing is needed (#4847) 5 years ago
readcollection.lua Minor util & ffi/util cleanups (#6657) 4 years ago
readhistory.lua Tests: Make a few things more deterministic (#6991) 3 years ago
util.lua Address assorted Weblate comments (#7154) 3 years ago
version.lua Cleanup eye-gouging madness around io.read calls (#7149) 3 years ago