Speed, altitude checkbox not re-enabled after latest position (fixes #148)

This commit is contained in:
Bartek Fabiszewski 2020-12-26 23:23:22 +01:00
parent d418df6234
commit 56c8c90210

View File

@ -158,6 +158,7 @@ export default class MapViewModel extends ViewModel {
uObserve.observe(track, 'positions', () => {
this.displayTrack(track, false);
this.api.zoomToExtent();
this.toggleStyleOptions();
});
this.displayTrack(track, true);
}