Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

feat(map in info): use clip.none for stacks for better performance

ashilkn2e9acbe17355
diff --git a/lib/ui/viewer/file_details/location_tags_widget.dart b/lib/ui/viewer/file_details/location_tags_widget.dart
index 7f9b424cef..c58168d540 100644
--- a/lib/ui/viewer/file_details/location_tags_widget.dart
+++ b/lib/ui/viewer/file_details/location_tags_widget.dart
@@ -84,6 +84,7 @@ class _LocationTagsWidgetState extends State<LocationTagsWidget> {
height: 120,
child: _hasEnabledMap
? Stack(
+ clipBehavior: Clip.none,
key: ValueKey(_hasEnabledMap),
children: [
MapView(
@@ -143,6 +144,7 @@ class _LocationTagsWidgetState extends State<LocationTagsWidget> {
)
: Stack(
key: ValueKey(_hasEnabledMap),
+ clipBehavior: Clip.none,
children: [
MapView(
updateVisibleImages: () {},