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

fix: 修复鼠标拖出窗口后触发上下文菜单的问题 #268

Merged
merged 1 commit into from
Jan 24, 2025

Conversation

neooier
Copy link
Contributor

@neooier neooier commented Jan 23, 2025

#204

修复方法

通过监听 contextmenu 事件并检查鼠标位置是否在窗口内来实现修复

其它

代码放置位置可能不是特别好,但是也找不太到更好的位置了😣

- 在窗口外侧拖动鼠标时,不再显示上下文菜单
- 通过监听 contextmenu 事件并检查鼠标位置来实现修复
@zty012 zty012 merged commit f10a11c into LiRenTech:master Jan 24, 2025
2 checks passed
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.

2 participants