Skip to content

Commit 095d92f

Browse files
Fix coordinate labels in detail view
1 parent 24aae92 commit 095d92f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

MCMaps/Red Window/Views/Detail/Cells/RedWindowPositionCell.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,9 @@ struct RedWindowPositionCell: RedWindowDetailCell {
7171
private var alternatePosition: CGPoint {
7272
switch pin.dimension {
7373
case .overworld:
74-
return CGPoint(x: pin.position.x / 8, y: pin.position.x / 8)
74+
return CGPoint(x: pin.position.x / 8, y: pin.position.y / 8)
7575
case .nether:
76-
return CGPoint(x: pin.position.x * 8, y: pin.position.x * 8)
76+
return CGPoint(x: pin.position.x * 8, y: pin.position.y * 8)
7777
case .end:
7878
return pin.position
7979
}

0 commit comments

Comments
 (0)