Get initial focus to input for link and gruop

This commit is contained in:
Ian Gulliver
2019-07-09 20:44:22 +00:00
parent b0bc1e5f3b
commit 9202ab2001
3 changed files with 4 additions and 1 deletions

View File

@@ -14,6 +14,7 @@ class EditorGroup extends EditorEntryBase {
afterDomAdd() {
this.nodes_.selectNext();
this.nodes_.getSelected().xArchObj.startEdit();
}
serialize() {

View File

@@ -16,6 +16,7 @@ class EditorLink extends EditorEntryBase {
afterDomAdd() {
this.nodes_.selectNext();
this.nodes_.getSelected().xArchObj.startEdit();
}
serialize() {

View File

@@ -12,6 +12,7 @@
--group-background: rgba(0,0,0,0.5);
--node-background: #000000;
--input: rgba(255,255,255,0.2);
--input-focus: rgba(255,0,0,0.2);
}
:root {
@@ -110,7 +111,7 @@ body {
}
.editor li input:focus {
border: var(--focus);
background-color: var(--input-focus);
outline: none;
}