goodboy
goodboy
The main issue I've noticed isn't so much that you can't get the acceleration speed (which you can seem to on whatever display is being scaled to with HiDPI, though...
@0000matteo0000 @j9ac9k ohhh this is super cool! I would like to get this feature sooner then later. I'll see what I can do about testing some of my own use...
I believe I am possibly having this issue which I hacked here: https://github.com/pikers/piker/commit/c073c50f15e897d137d5415fc31dfc8c5139a45b It's still not working in the maximum "zoomed out" case (pans left after hitting the max datums...
Also if there is already a better way to accomplish this I am eager to be enlightened :smile_cat:
@2xB @j9ac9k how do you both feel about a method to register a *zoom focus* callback? Say something along the lines of: ```python def zoom_to_right(viewbox): """Return the furthest right coordinate...
@2xB sounds good and I'd be happy to make the PR :smile_cat: @j9ac9k any thoughts?
@ixjlyons afaiu the current implementation effectively requires a callback since it's using the cursor's [current position](https://github.com/pyqtgraph/pyqtgraph/blob/master/pyqtgraph/graphicsItems/ViewBox/ViewBox.py#L1229) (i.e. the `ev.pos()` call). My use case is similar but I [look up the...
@2xB yeah what I'd really like is an easy way to switch between scrolling *modes* as well, eg. being able to ctl-scroll to enable the default behavior. >I'd also note...
> would want to do a fair amount of testing... Of course. I need to get gud with Qt testing anyway. Seems like I'm the only peep with a need...
@2xB just clarifying, this api will still require the callbacks underneath right?