From eeccae097108f38f6a0808b4e4b59c25191bc0d5 Mon Sep 17 00:00:00 2001 From: ac-61 Date: Tue, 1 Mar 2022 16:59:03 -0800 Subject: [PATCH] Fix minor bugs (#155) --- src/essence/Basics/Layers_/Layers_.js | 4 ++++ src/external/Dropy/dropy.js | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/essence/Basics/Layers_/Layers_.js b/src/essence/Basics/Layers_/Layers_.js index d36979ab..c28af2cb 100644 --- a/src/essence/Basics/Layers_/Layers_.js +++ b/src/essence/Basics/Layers_/Layers_.js @@ -726,6 +726,10 @@ var L_ = { } ToolController_.notifyActiveTool('setActiveFeature', L_.activeFeature) + + if (!L_.activeFeature) { + L_.clearVectorLayerInfo() + } }, highlight(layer) { if (layer == null) return diff --git a/src/external/Dropy/dropy.js b/src/external/Dropy/dropy.js index 79dcb642..7ffe3158 100644 --- a/src/external/Dropy/dropy.js +++ b/src/external/Dropy/dropy.js @@ -20,7 +20,7 @@ export default { '
', '', '
', '',