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: 修复一系列Label插件问题 #1969

Merged
merged 10 commits into from
Nov 26, 2024
Merged

fix: 修复一系列Label插件问题 #1969

merged 10 commits into from
Nov 26, 2024

Conversation

DymoneLewis
Copy link
Collaborator

@DymoneLewis DymoneLewis commented Nov 21, 2024

feat:

  1. label支持删除
  2. 点击其他label时,当前获焦label失焦
    fix:
  3. 修复文本框固定展示白底和hover后内容偏移问题
  4. 修复Label框单击后无法拖动问题
  5. 修复拖拽面板被label遮挡问题
  6. 修复使用label的情况下双击节点会让节点进入编辑态

relate issues #1966 #1910 #1909

Copy link

changeset-bot bot commented Nov 21, 2024

⚠️ No Changeset found

Latest commit: 71c4b7e

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@@ -32,13 +32,13 @@
}

&-editing {
border: 2px solid #275dc5;
outline: 2px solid #275dc5;
Copy link
Collaborator

Choose a reason for hiding this comment

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

see see

@boyongjiong
Copy link
Collaborator

这个 PR,我本地删除依赖,重新 install,build 会失败,你周一看下你那边有没有问题,如果有定位下原因处理一下哈

@@ -64,6 +64,7 @@ export class LabelModel {
id: this.id,
x: this.x,
y: this.y,
type: 'label',
Copy link
Collaborator

Choose a reason for hiding this comment

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

增加了该 type 标识,但 LabelData 类型和 LabelConfig 类型中都没有改属性,所以增加 core 包类型定义,解决打包报错的问题

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

let me cc

@boyongjiong boyongjiong merged commit 47700cc into master Nov 26, 2024
1 check passed
@boyongjiong boyongjiong deleted the bugfix/label-plugin branch November 26, 2024 03:31
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