Skip to content

Commit 2c72baa

Browse files
committed
Subtracting margin from BottomCenter position
1 parent 7d7dc56 commit 2c72baa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ios/RCTImageMarker/RCTImageMarker.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ void saveImageForMarker(NSString * fullPath, UIImage * image, float quality, boo
244244
break;
245245
case BottomCenter:
246246
posX = (w-(size.width))/2;
247-
posY = h-size.height;
247+
posY = h-size.height - margin;
248248
break;
249249
case BottomRight:
250250
posX = w-(size.width) - margin;

0 commit comments

Comments
 (0)