0.9.0: scenes — multi-page projects with right-side drawer
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
517705bf55
commit
b57994c754
12 files changed
+1193
-176
No files matched your search
@@ -188,8 +188,7 @@ async function deleteButtonAsset(id: string) {
|
||||
variant: 'danger',
|
||||
})
|
||||
if (!ok) return
|
||||
// Remove the asset; any layers referencing it will render as nothing.
|
||||
store.scene.assets = store.scene.assets.filter((a) => a.id !== id)
|
||||
store.removeAsset(id)
|
||||
if (store.activeButtonAssetId === id) store.exitButtonAssetEdit()
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user