1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2026-03-02 03:39:21 +00:00

Change delete marker button to edit marker button

This commit is contained in:
isaisstillalive
2020-07-05 21:35:25 +09:00
parent 8acefda778
commit 99c945e169
2 changed files with 4 additions and 4 deletions

View File

@@ -168,8 +168,8 @@ export class HUDWaypoints extends BaseHUDPart {
}
if (this.isWaypointDeletable(waypoint)) {
const deleteButton = makeDiv(element, null, ["deleteButton"]);
this.trackClicks(deleteButton, () => this.requestEditMarker(waypoint));
const editButton = makeDiv(element, null, ["editButton"]);
this.trackClicks(editButton, () => this.requestEditMarker(waypoint));
}
if (!waypoint.label) {