From 69a5753b69ddfba891b9d37b51c83adac059ca4a Mon Sep 17 00:00:00 2001 From: GregF Date: Tue, 4 Jun 2024 15:55:23 +0000 Subject: [PATCH] Fix incorrect Y coordinate with Global Coordinates --- src/main/kotlin/ui/MapCell.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/ui/MapCell.kt b/src/main/kotlin/ui/MapCell.kt index d041200..5fead79 100644 --- a/src/main/kotlin/ui/MapCell.kt +++ b/src/main/kotlin/ui/MapCell.kt @@ -33,7 +33,7 @@ class MapCell : JPanel() { Rs2MapEditor.statusLabel.text = "Region: ${Rs2MapEditor.region} | " + "Local Coordinates: [${Rs2MapEditor.selectedPointX}, ${Rs2MapEditor.selectedPointY}] | " + "Global Coordinates: [${MapTileParser.coordinateX(Rs2MapEditor.selectedPointX)}, ${ - MapTileParser.coordinateX( + MapTileParser.coordinateY( Rs2MapEditor.selectedPointY ) }]"