We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
官方文档描述的是可以的
The text was updated successfully, but these errors were encountered:
import { Leafer, Rect } from 'leafer-ui'; import '@leafer-in/viewport'; const leafer = new Leafer({ view: window, type: 'viewport', wheel: { zoomMode: true }, }); leafer.add(Rect.one({ fill: '#32cd79' }, 100, 100, 200, 200));
Sorry, something went wrong.
move.holdMiddleKey: boolean 按住滚轮中键拖拽是否平移视图,默认为 true
我试了下,把这个设置为true可以了,但是文档说默认就是true
感谢反馈,可以优化一下~
No branches or pull requests
官方文档描述的是可以的
The text was updated successfully, but these errors were encountered: