Skip to content
This repository was archived by the owner on Mar 14, 2020. It is now read-only.

[FixBug] Fix bug about pressing delete key quickly#210

Closed
DonnaWuDongxia wants to merge 2 commits into
intel:masterfrom
DonnaWuDongxia:quick-delete
Closed

[FixBug] Fix bug about pressing delete key quickly#210
DonnaWuDongxia wants to merge 2 commits into
intel:masterfrom
DonnaWuDongxia:quick-delete

Conversation

@DonnaWuDongxia

Copy link
Copy Markdown
Contributor

No description provided.

Comment thread src/js/adm.js

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Please also check "parent !== null" in case there's no selectable ancestor

@zhizhangchen

Copy link
Copy Markdown
Contributor

There's still a bug: drag a button group into the layout view, select a button in the group, press delete key 3 times. Only 2 buttons are deleted and there's an error message in console. Adding "var node = ADM.getSelected()" in doDelete function can solve this problem.

@DonnaWuDongxia

Copy link
Copy Markdown
Contributor Author

replaced by #217

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants