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/ui
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
..
data [chore] Fix a few Persian keyboard luacheck issues (#7253) 3 years ago
elements File browser settings: reorganize into Settings submenu (#7259) 3 years ago
message [doc] Tag @todo, @fixme and @warning (#5244) 5 years ago
network [reMarkable] Don't need to keep attempting WiFi connection after success (#7121) 3 years ago
plugin Tame BackgroundRunner: stop running when no more job (#6605) 4 years ago
widget Page Overlap: Fix rectangle computation and arrow mode (#7269) 3 years ago
bidi.lua [RTL UI] Bidi-wrap filenames, paths, urls, metadata 4 years ago
cloudmgr.lua [feat] Synchronize local folder with dropbox (#5591) 5 years ago
downloadmgr.lua Calibre plugin fixes for android (#6996) 4 years ago
event.lua [doc] Add internal documentation references (#5285) 5 years ago
font.lua Font menu: show font names with their own font 4 years ago
geometry.lua Page Overlap: Fix rectangle computation and arrow mode (#7269) 3 years ago
gesturerange.lua Text input fixes and enhancements (#4084) 6 years ago
hook_container.lua Move kobo auto-suspension logic out of UIManager (#2933) 7 years ago
language.lua Georgian keyboard (#7225) 3 years ago
menusorter.lua [fix] MenuSorter: use orderedPairs for orphans (#6403) 4 years ago
otamanager.lua Various Wi-Fi QoL improvements (#6424) 4 years ago
quickstart.lua Quickstart: add long press sets default (#7048) 3 years ago
renderimage.lua Update UI layout code to use new SVG icons 3 years ago
rendertext.lua More Android trickery (#7059) 3 years ago
screensaver.lua ScreenSaver: Unbreak "disable" mode (#7124) 3 years ago
size.lua UI: Make button radius match default window radius (#7054) 3 years ago
timeval.lua [fix] TimeVal: add dbg:guard against incorrect subtraction order (#4669) 5 years ago
translator.lua Minor util & ffi/util cleanups (#6657) 4 years ago
trapper.lua Dict, Trapper: prevent dismissal by past events 3 years ago
uimanager.lua Button: Fix some more weird highlighting corner-cases (#7256) 3 years ago
wikipedia.lua Cleanup eye-gouging madness around io.read calls (#7149) 3 years ago