Closed muzam1l closed 1 year ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
zcash-gui | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Jun 5, 2023 4:02pm |
This is cool! I can't speak much for the touch part of this PR, but some thoughts on the trackpad part:
What this doesn't cover and is left for later PR's:
Zooming curve: some ease-out style animation for smoother zoom across all gestures.
This sounds like a good improvement! It's a bit counterintuitive to always lerp with the same timescale/speed, always felt a bit clunky :smile:
To focus on this pr issue only, see #37, which might affect performance. Page refresh is recommended for now.
Is it any better now @zeapoz? Don't forget to refresh the page first due to the above-mentioned issue! We can increase the magnitude of the trackpad pinch further if needed.
Is it any better now @zeapoz? Don't forget to refresh the page first due to the above-mentioned issue! We can increase the magnitude of the trackpad pinch further if needed.
I think we should be good to double the current pinch travel from what it is now. Also, ctrl
doesn't seem to impact the travel distance, like the code would suggest.
I think we should be good to double the current pinch travel from what it is now.
Made it 2x of what it was. The zoom curve is weird in general, so will fix it later, but right now let's make it equal to wheel zoom.
Also, ctrl doesn't seem to impact the travel distance, like the code would suggest.
It only affects the mouse wheel zoom (plus trackpad two-finger swipe-up zoom, wherever enabled). It's a bit of trickery to detect the trackpad pinch. In that case, the browser emits the same wheel
event with ctrl
enabled, whether or not your press it 🫠.
What this doesn't cover and is left for later PR's: