allow negative zoom-sensitivity to reverse scroll-zoom direction

未关闭
#5,000 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 4 天内回复

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
40/100
Issue 类型
文档
描述清晰度
基本清楚
活跃度
停滞
技术栈
typescript

调研方向

issue 中没有指出任何文件、测试或入口点。请在桌面端和移动端使用滚动和捏合输入重现负缩放灵敏度,然后记录受支持的行为,并明确反向捏合是否是预期行为;当记录的行为与观察到的结果一致且边界情况已解决时,即可完成。

由索引模型根据 Issue 内容生成。

描述

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

主要语言
TypeScript
星标
8.4k
派生
964
平均合并
5 天 11 小时
30 天内合并 PR
8

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

google/model-viewer 的其他 Issue

查看 google/model-viewer 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。