From 8b5aaed92a88f75469675248b759cc84c2f5f5e2 Mon Sep 17 00:00:00 2001 From: mntmn Date: Tue, 10 Nov 2020 21:05:02 +0100 Subject: [PATCH] fix #50: Leave property panels open when selecting another element --- public/javascripts/spacedeck_sections.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/javascripts/spacedeck_sections.js b/public/javascripts/spacedeck_sections.js index 1d5d5d8..6846a94 100644 --- a/public/javascripts/spacedeck_sections.js +++ b/public/javascripts/spacedeck_sections.js @@ -864,7 +864,7 @@ var SpacedeckSections = { if (evt && !evt.shiftKey && this.is_selected(a)) return; // already selected if (!evt || !evt.shiftKey) { - this.deselect(); + this.selected_artifacts_dict = {}; } if (evt && evt.shiftKey) {