(W) = Waypoint
diff --git a/src/app/plan-display/plan-display.component.scss b/src/app/plan-display/plan-display.component.scss
index 7c645b5..3892f02 100644
--- a/src/app/plan-display/plan-display.component.scss
+++ b/src/app/plan-display/plan-display.component.scss
@@ -145,6 +145,12 @@ notes {
right: 0;
}
+.reset-button {
+ position: absolute;
+ bottom: 0;
+ right: 0;
+}
+
.help {
position: absolute;
top: 0;
diff --git a/src/app/plan-display/plan-display.component.ts b/src/app/plan-display/plan-display.component.ts
index 53c575a..07a6f91 100644
--- a/src/app/plan-display/plan-display.component.ts
+++ b/src/app/plan-display/plan-display.component.ts
@@ -253,6 +253,11 @@ export class PlanDisplayComponent implements OnInit {
event.stopPropagation();
}
+ resetClick(event: any) {
+ event.stopPropagation();
+ this.setIndex(0);
+ }
+
onScroll(event: WheelEvent) {
if (event.deltaY < 0) {
this.prev();