mirror of
https://github.com/koreader/koreader
synced 2024-11-13 19:11:25 +00:00
d8fc28df97
* 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.
50 lines
1.8 KiB
XML
50 lines
1.8 KiB
XML
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
<svg
|
|
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
|
xmlns:cc="http://creativecommons.org/ns#"
|
|
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
|
xmlns:svg="http://www.w3.org/2000/svg"
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
|
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
|
version="1.1"
|
|
width="16"
|
|
height="16"
|
|
viewBox="0 0 16 16"
|
|
enable-background="new 0 0 76.00 76.00"
|
|
xml:space="preserve"
|
|
id="svg2"
|
|
inkscape:version="1.0.2 (e86c870879, 2021-01-15)"
|
|
sodipodi:docname="control.expand.alpha.svg"
|
|
inkscape:export-xdpi="90"
|
|
inkscape:export-ydpi="90"><metadata
|
|
id="metadata10"><rdf:RDF><cc:Work
|
|
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
|
|
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title /></cc:Work></rdf:RDF></metadata><defs
|
|
id="defs8" /><sodipodi:namedview
|
|
pagecolor="#ffffff"
|
|
bordercolor="#666666"
|
|
borderopacity="1"
|
|
objecttolerance="10"
|
|
gridtolerance="10"
|
|
guidetolerance="10"
|
|
inkscape:pageopacity="0"
|
|
inkscape:pageshadow="2"
|
|
inkscape:window-width="2560"
|
|
inkscape:window-height="1381"
|
|
id="namedview6"
|
|
showgrid="false"
|
|
inkscape:zoom="12.421053"
|
|
inkscape:cx="30.041478"
|
|
inkscape:cy="18.178404"
|
|
inkscape:window-x="0"
|
|
inkscape:window-y="0"
|
|
inkscape:window-maximized="1"
|
|
inkscape:current-layer="svg2"
|
|
inkscape:document-rotation="0" /><path
|
|
d="M 3,0 13,8 13,8 3,16 z"
|
|
id="path4"
|
|
inkscape:connector-curvature="0"
|
|
style="fill:#000000;fill-opacity:0.75;stroke-width:0.2;stroke-linejoin:round;opacity:1"
|
|
sodipodi:nodetypes="ccccc" /></svg>
|