mirror of
https://github.com/immich-app/immich.git
synced 2026-02-28 01:29:04 +03:00
fix(web): clear face boxes when switching assets (#26249)
This commit is contained in:
@@ -57,7 +57,10 @@
|
|||||||
|
|
||||||
$effect.pre(() => {
|
$effect.pre(() => {
|
||||||
void asset.id;
|
void asset.id;
|
||||||
untrack(() => assetViewerManager.resetZoomState());
|
untrack(() => {
|
||||||
|
assetViewerManager.resetZoomState();
|
||||||
|
$boundingBoxesArray = [];
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
onDestroy(() => {
|
onDestroy(() => {
|
||||||
|
|||||||
Reference in New Issue
Block a user