fix(web): clear face boxes when switching assets (#26249)

This commit is contained in:
Michel Heusschen 2026-02-16 15:52:34 +01:00 committed by GitHub
parent 4dccc2082b
commit cc9c261fd0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -57,7 +57,10 @@
$effect.pre(() => {
void asset.id;
untrack(() => assetViewerManager.resetZoomState());
untrack(() => {
assetViewerManager.resetZoomState();
$boundingBoxesArray = [];
});
});
onDestroy(() => {