mirror of
https://github.com/immich-app/immich.git
synced 2026-05-18 03:10:24 +03:00
refactor(web): replace face hover with overlay elements and migrate people store to manager
Replace listener-based mouse hit-testing with per-face overlay elements for face hover detection, and migrate people store state to AssetViewerManager. - Render invisible divs for each face as pointer-event hover targets - Show white border + name tooltip on active hover - Add face bounding box markers to photo sphere viewer (panorama support) - Migrate boundingBoxesArray/showingHiddenPeople from people.store.ts to AssetViewerManager - Delete people.store.ts (Faces interface moved to asset-viewer-manager) Change-Id: Ied4c3894cc58874ed65725dcb8cc7ce86a6a6964
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import type { Faces } from '$lib/stores/people.store';
|
||||
import type { Faces } from '$lib/managers/asset-viewer-manager.svelte';
|
||||
import type { Size } from '$lib/utils/container-utils';
|
||||
import { getBoundingBox } from '$lib/utils/people-utils';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user