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(projects): close tab by mouse wheel button click #367

Merged

Conversation

JianJroh
Copy link
Contributor

No description provided.

function handleMouseup(e: MouseEvent) {
// close tab by mouse wheel button click
if (e.button === 1) {
emit('close');
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use handleClose replace emit('close')

@JianJroh JianJroh force-pushed the feat/click-mousewheel-close-tab branch from a03047e to ff74838 Compare March 27, 2024 10:24
@honghuangdc
Copy link
Member

然后这个PR可以放到 下个版本中发布,先不着急

@honghuangdc
Copy link
Member

honghuangdc commented Mar 27, 2024

然后这个PR可以放到 下个版本中发布,先不着急

可以放到 v 1.1 版本中 #364

@JianJroh JianJroh force-pushed the feat/click-mousewheel-close-tab branch from ff74838 to 891d060 Compare April 1, 2024 02:38
@JianJroh JianJroh changed the title feat(project): close tab by mouse wheel button click feat(projects): close tab by mouse wheel button click Apr 1, 2024
@honghuangdc
Copy link
Member

重新 fork最新代码,然后在 v1.1.0 分支上创建新分支,提交代码后合并到 v1.1.0 上。通过 git cherry-pick 将这次提交复制过去

@JianJroh JianJroh force-pushed the feat/click-mousewheel-close-tab branch from 891d060 to d3849ba Compare April 29, 2024 01:58
@JianJroh JianJroh changed the base branch from main to v1.1.0 April 29, 2024 02:00
@honghuangdc honghuangdc merged commit 1ed2eb5 into soybeanjs:v1.1.0 Apr 29, 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.

None yet

2 participants