mirror of
https://git.vectorsigma.ru/public/immich.git
synced 2026-08-06 09:18:18 +00:00
fix(web): clear face boxes when switching assets (#26249)
This commit is contained in:
@@ -57,7 +57,10 @@
|
||||
|
||||
$effect.pre(() => {
|
||||
void asset.id;
|
||||
untrack(() => assetViewerManager.resetZoomState());
|
||||
untrack(() => {
|
||||
assetViewerManager.resetZoomState();
|
||||
$boundingBoxesArray = [];
|
||||
});
|
||||
});
|
||||
|
||||
onDestroy(() => {
|
||||
|
||||
Reference in New Issue
Block a user