From a6af68bca8982cf6f558b5ed506c3a26c0668156 Mon Sep 17 00:00:00 2001 From: Skyler Lehmkuhl Date: Fri, 20 Dec 2024 15:58:18 -0500 Subject: [PATCH] Return objects to first frame when leaving their context --- src/main.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/main.js b/src/main.js index 148d72d..95ff781 100644 --- a/src/main.js +++ b/src/main.js @@ -3313,6 +3313,7 @@ function stage() { // we didn't click on a child, go up a level if (context.activeObject.parent) { context.selection = [context.activeObject] + context.activeObject.currentFrameNum = 0; context.shapeselection = [] context.objectStack.pop() updateUI() @@ -4318,9 +4319,6 @@ function updateInfopanel() { }) input.addEventListener("blur", (e) => { - // Handle when the input field loses focus - console.log("Input lost focus"); - // Your logic here switch (prop.type) { case "text": if (prop.value) {