Fixed undo not working when grouping components
This commit is contained in:
parent
3229487cf0
commit
8c1454cb13
1 changed files with 1 additions and 0 deletions
|
|
@ -499,6 +499,7 @@ export default function Page({
|
||||||
isVisible={selectionMenuVisible}
|
isVisible={selectionMenuVisible}
|
||||||
nodes={lastSelection?.nodes}
|
nodes={lastSelection?.nodes}
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
|
takeSnapshot();
|
||||||
if (
|
if (
|
||||||
validateSelection(lastSelection!, edges).length === 0
|
validateSelection(lastSelection!, edges).length === 0
|
||||||
) {
|
) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue