commit ddd544585960e985dc097b4a5a0ab6819b8fabae
parent 51615e365cfe5dd238c438643616d1b0529a1bfe
Author: Sergej Orlov <wladimirych@gmail.com>
Date: Wed, 9 May 2018 21:13:02 +0300
fix azimuth control disabling #64
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/App.js b/src/App.js
@@ -144,7 +144,7 @@ function setUp() {
////////// track list and azimuth measure interaction
- tracklist.on('startedit', () => azimuthControl.setEnabled(false));
+ tracklist.on('startedit', () => azimuthControl.disableControl());
tracklist.on('elevation-shown', () => azimuthControl.hideProfile());
azimuthControl.on('enabled', () => {
tracklist.stopEditLine();