feat(editor): Overhaul node insert position computation in new canvas (no-changelog) (#10637)

This commit is contained in:
Alex Grozav
2024-09-03 15:11:44 +03:00
committed by GitHub
parent e5aba60aff
commit 32ce65c1af
15 changed files with 805 additions and 483 deletions

View File

@@ -101,8 +101,8 @@ watch(
);
// Close node creator when the last view stacks is closed
watch(viewStacksLength, (viewStacksLength) => {
if (viewStacksLength === 0) {
watch(viewStacksLength, (value) => {
if (value === 0) {
emit('closeNodeCreator');
setShowScrim(false);
}