gipy: quickfix for heights position
parent
7f91bceb5c
commit
539d687fd8
|
|
@ -1002,10 +1002,11 @@ class Status {
|
|||
let current_position = 0;
|
||||
if (this.current_segment !== null) {
|
||||
current_position =
|
||||
this.remaining_distances[this.current_segment + 1] +
|
||||
this.remaining_distances[0] -
|
||||
(this.remaining_distances[this.current_segment + 1] +
|
||||
this.projected_point.distance(
|
||||
this.path.point(this.current_segment + 1)
|
||||
);
|
||||
));
|
||||
}
|
||||
if (this.screen == HEIGHTS_FULL) {
|
||||
this.display_heights(0, current_position, this.remaining_distances[0]);
|
||||
|
|
|
|||
Loading…
Reference in New Issue