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

feat: 鼠标中键进行画布拖拽的功能有点局限 #67

Conversation

JessYan0913
Copy link
Owner

core/src/services/mouse.ts中移除默认的鼠标中键拖拽画布逻辑,将是否开启中键拖拽画布交给外部处理。在引用app的地方可以通过监听mouse:downmouse:up事件来自行实现鼠标中键拖拽画布功能。

image

image

@JessYan0913 JessYan0913 linked an issue Mar 12, 2024 that may be closed by this pull request
@JessYan0913 JessYan0913 merged commit cdc1f96 into main Mar 12, 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

Successfully merging this pull request may close these issues.

[Feature]鼠标中键进行画布拖拽的功能有点局限
1 participant