mirror of
https://github.com/immich-app/immich.git
synced 2026-02-17 08:40:14 -05:00
fix(web): clear face boxes when switching assets (#26249)
This commit is contained in:
parent
4dccc2082b
commit
cc9c261fd0
@ -57,7 +57,10 @@
|
||||
|
||||
$effect.pre(() => {
|
||||
void asset.id;
|
||||
untrack(() => assetViewerManager.resetZoomState());
|
||||
untrack(() => {
|
||||
assetViewerManager.resetZoomState();
|
||||
$boundingBoxesArray = [];
|
||||
});
|
||||
});
|
||||
|
||||
onDestroy(() => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user