share/hedgewars/Data/Scripts/Multiplayer/HedgeEditor.lua
changeset 14322 8fc6ac47f00a
parent 13870 297cf5c19172
child 14366 ef7501d9935c
--- a/share/hedgewars/Data/Scripts/Multiplayer/HedgeEditor.lua	Mon Nov 26 18:03:39 2018 +0100
+++ b/share/hedgewars/Data/Scripts/Multiplayer/HedgeEditor.lua	Mon Nov 26 19:10:08 2018 +0100
@@ -2868,7 +2868,12 @@
 -- Display the X and Y coordinates of the cursor while the cursor is active
 function updateCursorCoords()
 	if band(GetState(CurrentHedgehog), gstChooseTarget) ~= 0 and CursorX ~= NO_CURSOR then
-		local x1, y = 12, 24
+		local x1, y
+		if INTERFACE == "touch" then
+			x1, y = 126, 32
+		else
+			x1, y = 12, 24
+		end
 		if tagCursorX then
 			DeleteVisualGear(tagCursorX)
 		end