瀏覽代碼

fix: fix anchor position of mapMarker

ashilkn 1 年之前
父節點
當前提交
27f9eea19f
共有 1 個文件被更改,包括 1 次插入0 次删除
  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,