View Single Post
Old 06-16-2023, 02:11 PM   #8
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
IIRC, there's no direct way to do what you're thinking of. Take this with a grain of salt, as I've never actually actively used these gestures outside of quick low-level input testing, but my understanding is that pinch/spread is only bound to *font size* scaling, and that on *reflowable* documents; so *not* what you're using.

Assuming it's all plugged into GestureManager properly, you miiight be able to get away with something like binding spread to a larger zoom factor and pinch to a lower zoom factor (which whould require being in manual zoom mode to begin with), but I'm not sure it's actually doable, and I wouldn't expect it to work all that well, *especially* on a low power device like the Forma.

Take all this with a grain of salt, my own experience with fixed-layout on that device involved sticking to perfectly screen-sized content, so I don't have to deal with any of this nonsense .

As mentioned earlier, though, if you're actually in the image viewer, e.g., by long-pressing on an image [which will work much better on actually reflowable content, e.g., ePub], then pan/spread/pinch will work *exactly* like that, though, and we've done extensive tweaking to make this behave mostly sanely on slow devices.

Last edited by NiLuJe; 06-16-2023 at 02:15 PM.
NiLuJe is offline   Reply With Quote