mirror of
https://github.com/Terncode/pixel.horse.git
synced 2026-09-24 21:55:52 +02:00
Fix browser hotkeys not working
CTRL+C for copying text CTRL+F for focusing search box above chat log CTRL+SHIFT+I for inspector tools
This commit is contained in:
@@ -281,6 +281,9 @@ export class ChatLog implements AfterViewInit, OnDestroy, DoCheck {
|
||||
updateEntityId(this.party, update.old, update.new);
|
||||
updateEntityId(this.whisper, update.old, update.new);
|
||||
}),
|
||||
this.game.onSearch.subscribe(() => {
|
||||
this.focus();
|
||||
}),
|
||||
);
|
||||
}
|
||||
get linesElement() {
|
||||
@@ -457,7 +460,6 @@ export class ChatLog implements AfterViewInit, OnDestroy, DoCheck {
|
||||
let value = this.filterInput.nativeElement.value;
|
||||
if (!value) {
|
||||
this.clearTimeOutAutoClear();
|
||||
this.unFocus();
|
||||
this.filterChatLogLines('', false);
|
||||
return;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user