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/apps/reader/modules
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
..
readeractivityindicator.lua ReaderActivityIndicator: fix isStub() 3 years ago
readerback.lua Notification: closed by any event, but not consuming it 3 years ago
readerbookmark.lua [UX] Add ToC/Bookmarks settings 3 years ago
readerconfig.lua [RFC] Make default UI tapzones more generous (#6918) 4 years ago
readercoptlistener.lua Alt status bar: full repaint on font size change 3 years ago
readercropping.lua Paged documents: rework zoom options (#6885) 4 years ago
readerdevicestatus.lua Floor dimension computations (mul/div). (#6264) 4 years ago
readerdictionary.lua Prevent sdcv from interpreting search term starting with dash as an option (#7134) 3 years ago
readerdogear.lua Update UI layout code to use new SVG icons 3 years ago
readerflipping.lua Update UI layout code to use new SVG icons 3 years ago
readerfont.lua [UX] Add ToC/Bookmarks settings 3 years ago
readerfooter.lua Footer: tweak auto refresh code 3 years ago
readergoto.lua Hide non-linear fragments 4 years ago
readerhighlight.lua Highlight dialog: fix 'Follow Link' button not shown (#7250) 3 years ago
readerhinting.lua minor(readerhinting): access document directly instead of from ui 8 years ago
readerkoptlistener.lua Paged documents: rework zoom options (#6885) 4 years ago
readerlink.lua Notification: closed by any event, but not consuming it 3 years ago
readermenu.lua Update UI layout code to use new SVG icons 3 years ago
readerpagemap.lua [UX] Add ToC/Bookmarks settings 3 years ago
readerpaging.lua Page Overlap: Fix rectangle computation and arrow mode (#7269) 3 years ago
readerpanning.lua feat: add logger module & rewrite kobo suspend script in lua 7 years ago
readerrolling.lua Page Overlap: Fix rectangle computation and arrow mode (#7269) 3 years ago
readerrotation.lua [doc] Tag @todo, @fixme and @warning (#5244) 5 years ago
readersearch.lua Assorted fixes after #7118 (#7161) 3 years ago
readerstatus.lua Show only 1 End Document Dialog at a time 3 years ago
readerstyletweak.lua Notification: closed by any event, but not consuming it 3 years ago
readertoc.lua [UX] Add ToC/Bookmarks settings 3 years ago
readertypeset.lua ConfigDialog: temporarily hide when showing SpinWidgets 3 years ago
readertypography.lua ReaderTypography: fix language names order in menu (#6913) 4 years ago
readerview.lua Page Overlap: Fix rectangle computation and arrow mode (#7269) 3 years ago
readerwikipedia.lua ReaderDictionary: fix possible crash with Wikipedia 3 years ago
readerzooming.lua KOPT bottom menu: hide it when applying Zoom options 3 years ago