Explorar o código

fix: fix anchor position of mapMarker

ashilkn hai 1 ano
pai
achega
27f9eea19f
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      lib/ui/map/map_marker.dart

+ 1 - 0
lib/ui/map/map_marker.dart

@@ -6,6 +6,7 @@ import "package:photos/ui/map/marker_image.dart";
 
 Marker mapMarker(ImageMarker imageMarker, String key) {
   return Marker(
+    anchorPos: AnchorPos.align(AnchorAlign.top),
     key: Key(key),
     width: 75,
     height: 75,