fix: make mapMarker's anchor position precise

This commit is contained in:
ashilkn 2024-01-30 17:35:38 +05:30
parent 27f9eea19f
commit 02d2fd7d71

View file

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