diff --git a/EditorGroup.js b/EditorGroup.js index 679df90..e628148 100644 --- a/EditorGroup.js +++ b/EditorGroup.js @@ -75,6 +75,7 @@ class EditorGroup extends EditorEntryBase { case ' ': this.elem_.classList.toggle('highlight'); + this.elem_.setAttribute('data-arch-snapshot', ''); this.elem_.setAttribute('data-arch-refresh', ''); e.stopPropagation(); e.preventDefault(); diff --git a/EditorLink.js b/EditorLink.js index b824002..87f8c96 100644 --- a/EditorLink.js +++ b/EditorLink.js @@ -93,6 +93,7 @@ class EditorLink extends EditorEntryBase { case ' ': this.elem_.classList.toggle('highlight'); + this.elem_.setAttribute('data-arch-snapshot', ''); this.elem_.setAttribute('data-arch-refresh', ''); e.stopPropagation(); e.preventDefault(); diff --git a/EditorNode.js b/EditorNode.js index ab14e7a..29bedf1 100644 --- a/EditorNode.js +++ b/EditorNode.js @@ -118,6 +118,7 @@ class EditorNode extends EditorEntryBase { case ' ': this.elem_.classList.toggle('highlight'); + this.elem_.setAttribute('data-arch-snapshot', ''); this.onInput(); e.stopPropagation(); e.preventDefault(); diff --git a/architype.css b/architype.css index b3a2e9c..f447484 100644 --- a/architype.css +++ b/architype.css @@ -13,7 +13,7 @@ --group-background: rgba(255,255,255,0.5); --node-background: #f8f8f8; --link-label-background: rgba(240,240,240,0.9); - --input: rgba(0,0,0,0.2); + --input: rgba(0,0,0,0.1); --input-focus: rgba(255,0,0,0.2); --line: #000000; }