From 591d4814a7c0d461a46d2e948af3f5f3432c3a58 Mon Sep 17 00:00:00 2001 From: Ian Gulliver Date: Wed, 10 Jul 2019 23:51:14 +0000 Subject: [PATCH] Expand lines on highlight, fix EditorLabel highlight attempt --- EditorLabel.js | 6 ++++++ architype.css | 1 + lines.svg | 2 +- 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/EditorLabel.js b/EditorLabel.js index 76b7cdd..cbe5677 100644 --- a/EditorLabel.js +++ b/EditorLabel.js @@ -81,6 +81,12 @@ class EditorLabel extends EditorEntryBase { e.stopPropagation(); e.preventDefault(); break; + + case ' ': + // We don't support highlighting, but stop propagation + e.stopPropagation(); + e.preventDefault(); + break; } } diff --git a/architype.css b/architype.css index 5438868..e34ea67 100644 --- a/architype.css +++ b/architype.css @@ -264,6 +264,7 @@ body { .gridLines.highlight { --line-color: var(--focus); + --line-width: 3; } .gridLinkLabel { diff --git a/lines.svg b/lines.svg index 7569011..18a6ccf 100644 --- a/lines.svg +++ b/lines.svg @@ -6,7 +6,7 @@ /*