mirror of
https://github.com/immich-app/immich
synced 2026-08-15 13:03:57 +00:00
fix(web): clear face boxes when switching assets (#26249)
This commit is contained in:
parent
4dccc2082b
commit
cc9c261fd0
1 changed files with 4 additions and 1 deletions
|
|
@ -57,7 +57,10 @@
|
|||
|
||||
$effect.pre(() => {
|
||||
void asset.id;
|
||||
untrack(() => assetViewerManager.resetZoomState());
|
||||
untrack(() => {
|
||||
assetViewerManager.resetZoomState();
|
||||
$boundingBoxesArray = [];
|
||||
});
|
||||
});
|
||||
|
||||
onDestroy(() => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue