fix(keymap): Don't show keymap description in the key action popover (#572)
This commit is contained in:
committed by
László Monda
parent
6358528438
commit
662ca0152f
@@ -14,6 +14,7 @@
|
||||
(capture)="onCapture(i, $event.index, $event.captured)"
|
||||
/>
|
||||
</svg>
|
||||
<editable-text [ngModel]="description"
|
||||
<editable-text *ngIf="showDescription"
|
||||
[ngModel]="description"
|
||||
(ngModelChange)="descriptionChanged.emit($event)"
|
||||
placeholder="No description provided for this keymap."></editable-text>
|
||||
|
||||
|
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1.0 KiB |
@@ -32,6 +32,7 @@ export class SvgKeyboardComponent implements OnInit {
|
||||
@Input() halvesSplit: boolean;
|
||||
@Input() keyboardLayout = KeyboardLayout.ANSI;
|
||||
@Input() description: string;
|
||||
@Input() showDescription = false;
|
||||
@Output() keyClick = new EventEmitter();
|
||||
@Output() keyHover = new EventEmitter();
|
||||
@Output() capture = new EventEmitter();
|
||||
|
||||
Reference in New Issue
Block a user