Sorry, there is no keymap with this abbreviation.
diff --git a/shared/src/components/macro/edit/macro-edit.component.html b/shared/src/components/macro/edit/macro-edit.component.html
index bee7d56c..46e55d5f 100644
--- a/shared/src/components/macro/edit/macro-edit.component.html
+++ b/shared/src/components/macro/edit/macro-edit.component.html
@@ -1,4 +1,4 @@
-
+
-
+
There is no macro with id {{ route.params.select('id') | async }}.
diff --git a/shared/src/components/popover/tab/keymap/keymap-tab.component.html b/shared/src/components/popover/tab/keymap/keymap-tab.component.html
index 1846dd08..5bd905bf 100644
--- a/shared/src/components/popover/tab/keymap/keymap-tab.component.html
+++ b/shared/src/components/popover/tab/keymap/keymap-tab.component.html
@@ -1,7 +1,7 @@
-
+ No keymaps are available to choose from. Create a keymap first!
-
- 0">
+
+ 0">
Switch to keymap:
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/shared/src/components/popover/tab/layer/layer-tab.component.html b/shared/src/components/popover/tab/layer/layer-tab.component.html
index c5f91c00..5d87b993 100644
--- a/shared/src/components/popover/tab/layer/layer-tab.component.html
+++ b/shared/src/components/popover/tab/layer/layer-tab.component.html
@@ -1,4 +1,4 @@
-
+
- layer by pressing this key.
- layer by holding this key.
+ layer by pressing this key.
+ layer by holding this key.
-
-
+
+ Layer switching is only possible from the base layer.
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/shared/src/components/popover/tab/macro/macro-tab.component.html b/shared/src/components/popover/tab/macro/macro-tab.component.html
index 30a5b70b..810a5879 100644
--- a/shared/src/components/popover/tab/macro/macro-tab.component.html
+++ b/shared/src/components/popover/tab/macro/macro-tab.component.html
@@ -1,7 +1,7 @@
-
+ No macros are available to choose from. Create a macro first!
-
- 0">
+
+ 0">
Play macro:
@@ -13,4 +13,4 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/shared/src/components/popover/widgets/capture-keystroke/capture-keystroke-button.component.html b/shared/src/components/popover/widgets/capture-keystroke/capture-keystroke-button.component.html
index 91e06d41..f9df04bf 100644
--- a/shared/src/components/popover/widgets/capture-keystroke/capture-keystroke-button.component.html
+++ b/shared/src/components/popover/widgets/capture-keystroke/capture-keystroke-button.component.html
@@ -3,10 +3,10 @@
(click)="start()"
>
-
+
Capture keystroke
-
-
+
+
Capturing ...
-
+
\ No newline at end of file
diff --git a/shared/src/components/svg/keys/svg-keyboard-key/svg-keyboard-key.component.html b/shared/src/components/svg/keys/svg-keyboard-key/svg-keyboard-key.component.html
index 13b8a808..11f12b88 100644
--- a/shared/src/components/svg/keys/svg-keyboard-key/svg-keyboard-key.component.html
+++ b/shared/src/components/svg/keys/svg-keyboard-key/svg-keyboard-key.component.html
@@ -4,7 +4,7 @@
[attr.height]="height" [attr.width]="width"
[attr.fill]="fill"
/>
-
+
-
-
+
+
-
+
diff --git a/shared/src/components/svg/wrap/svg-keyboard-wrap.component.html b/shared/src/components/svg/wrap/svg-keyboard-wrap.component.html
index 0bcaa733..01dc6166 100644
--- a/shared/src/components/svg/wrap/svg-keyboard-wrap.component.html
+++ b/shared/src/components/svg/wrap/svg-keyboard-wrap.component.html
@@ -1,4 +1,4 @@
-
+
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/shared/src/components/svg/wrap/svg-keyboard-wrap.component.ts b/shared/src/components/svg/wrap/svg-keyboard-wrap.component.ts
index b22d4e09..00608e22 100644
--- a/shared/src/components/svg/wrap/svg-keyboard-wrap.component.ts
+++ b/shared/src/components/svg/wrap/svg-keyboard-wrap.component.ts
@@ -119,7 +119,8 @@ export class SvgKeyboardWrapComponent implements OnInit, OnChanges {
if (keymapChanges) {
this.popoverShown = false;
this.layers = this.keymap.layers;
- if (keymapChanges.previousValue.abbreviation !== keymapChanges.currentValue.abbreviation) {
+ if (keymapChanges.isFirstChange() ||
+ keymapChanges.previousValue.abbreviation !== keymapChanges.currentValue.abbreviation) {
this.currentLayer = 0;
this.keybindAnimationEnabled = keymapChanges.isFirstChange();
} else {
diff --git a/web/src/app.module.ts b/web/src/app.module.ts
index 528b2a69..95da9dc5 100644
--- a/web/src/app.module.ts
+++ b/web/src/app.module.ts
@@ -1,6 +1,7 @@
import { NgModule, ReflectiveInjector } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { BrowserModule } from '@angular/platform-browser';
+import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { EffectsModule } from '@ngrx/effects';
import { StoreModule } from '@ngrx/store';
@@ -135,6 +136,7 @@ const storeConfig = {
],
imports: [
BrowserModule,
+ BrowserAnimationsModule,
FormsModule,
DragulaModule,
routing,