Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

设置最小缩放比例和滚动缩放因子了,缩小到最小比例后,画布无法再放大 #4168

Open
gdutwyg opened this issue Jan 19, 2024 · 1 comment

Comments

@gdutwyg
Copy link

gdutwyg commented Jan 19, 2024

问题描述

设置了最小缩放比例0.15,然后设置了滚动缩放因子为1.1,缩小到最小比例后,无法再放大

重现链接

https://codesandbox.io/p/sandbox/peaceful-dew-7j79dc?file=%2Findex.ts%3A13%2C15-13%2C16

重现步骤

  1. 通过滚轮和(ctrl或command键)把画布缩小到最小值
  2. 再尝试放大
  3. 无法放大

预期行为

把画布缩小到最小值后也可以放大

平台

  • 操作系统: [macOS, Windows, Linux, React Native ...]
  • 网页浏览器: [Google Chrome, Safari, Firefox ...]
  • X6 版本: [2.11.1 ...]

屏幕截图或视频(可选)

No response

补充说明(可选)

No response

@yh1010
Copy link

yh1010 commented Feb 28, 2024

请教下 解决了吗

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants