From 503dacd54ad3df3e7712b7b2a6e497b27e516e70 Mon Sep 17 00:00:00 2001 From: portree_kid Date: Sat, 16 May 2020 10:46:34 +0200 Subject: [PATCH] Deselection --- src/renderer/loaders/RunwayNode.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/renderer/loaders/RunwayNode.js b/src/renderer/loaders/RunwayNode.js index a481644..23dc89c 100644 --- a/src/renderer/loaders/RunwayNode.js +++ b/src/renderer/loaders/RunwayNode.js @@ -49,6 +49,13 @@ L.RunwayNode = L.Marker.extend({ console.error(error); } }, + deselect() { + try { + this._icon.style['color'] = 'black'; + } catch (error) { + console.error(error); + } + }, extensions: function (editLayer) { this.options.attributes = {}; if (typeof this.featureLookup[this.glueindex] === 'undefined') {