diff --git a/src/css/ingame_hud/waypoints.scss b/src/css/ingame_hud/waypoints.scss index fecb2c66..57c644ab 100644 --- a/src/css/ingame_hud/waypoints.scss +++ b/src/css/ingame_hud/waypoints.scss @@ -52,11 +52,11 @@ opacity: 1; } - .deleteButton { + .editButton { @include S(width, 10px); @include S(height, 10px); @include S(margin-left, 4px); - background: uiResource("icons/close.png") center center / 60% no-repeat; + background: uiResource("icons/edit_key.png") center center / 60% no-repeat; pointer-events: all; cursor: pointer; diff --git a/src/js/game/hud/parts/waypoints.js b/src/js/game/hud/parts/waypoints.js index 095db815..88fe5f58 100644 --- a/src/js/game/hud/parts/waypoints.js +++ b/src/js/game/hud/parts/waypoints.js @@ -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) {