mirror of
https://github.com/immich-app/immich
synced 2026-08-15 13:03:57 +00:00
fix: asset stack stacked over asset details
This commit is contained in:
parent
0687c0d3f7
commit
94c647ce91
1 changed files with 5 additions and 0 deletions
|
|
@ -22,6 +22,11 @@ class AssetStackRow extends ConsumerWidget {
|
|||
return const SizedBox.shrink();
|
||||
}
|
||||
|
||||
final showingDetails = ref.watch(assetViewerProvider.select((s) => s.showingDetails));
|
||||
if (showingDetails) {
|
||||
return const SizedBox.shrink();
|
||||
}
|
||||
|
||||
final showingControls = ref.watch(assetViewerProvider.select((s) => s.showingControls));
|
||||
final double opacity =
|
||||
ref.watch(assetViewerProvider.select((s) => s.backgroundOpacity)) * (showingControls ? 1 : 0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue