From 15ddce6dfbdfd75ff2e1befa37c9f84f1fc40e16 Mon Sep 17 00:00:00 2001 From: Skyler Lehmkuhl Date: Sun, 29 Dec 2024 00:09:59 -0500 Subject: [PATCH] Fix reassigned uuids breaking frame relationships --- src/main.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/main.js b/src/main.js index 32963f6..cab09b7 100644 --- a/src/main.js +++ b/src/main.js @@ -3274,6 +3274,12 @@ async function importFile() { uuidCache[value] = uuidv4(); // Store the generated UUID for the value } obj[key] = uuidCache[value]; // Assign the UUID to the object property + } else if (key in existing) { + // If the value is in the "existing" list, assign a UUID + if (!uuidCache[key]) { + uuidCache[key] = uuidv4(); // Store the generated UUID for the value + } + obj[key] = uuidCache[key]; // Assign the UUID to the object property } } } @@ -4644,6 +4650,7 @@ function outliner(object=undefined) { } else { outliner.object = object } + outliner.style.cursor = "pointer" let lastResizeTime = 0; const throttleIntervalMs = 20;