google / google/model-viewer

allow negative zoom-sensitivity to reverse scroll-zoom direction

Open
#5,000 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
8.2k
Forks
947
PR merge metrics
No merged PRs in 30d

Description

negative sensitivity is already supported for orbit angles. adding this will allow the enlarging zoom direction to be the same as the scroll down direction, allowing the user to scroll down to a model and continuing to scroll down to zoom in.

edit: this actually already works for me. so maybe it only needs a documentation remark (assuming there no edge cases depending on the zoom to be positive). another issue is that currently this also reverses the pinch on mobile which is not intended

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.