From a5001998c4461591ae027930c00b1814cdb7b121 Mon Sep 17 00:00:00 2001 From: "DESKTOP-64JNFCF\\keyra" Date: Wed, 18 Oct 2023 01:30:44 +0900 Subject: [PATCH] =?UTF-8?q?=E4=BD=99=E8=A8=88=E3=81=AA=E3=82=82=E3=81=AE?= =?UTF-8?q?=E3=82=92=E5=89=8A=E9=99=A4=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../component/chat-palette/chat-palette.component.html | 2 +- .../component/chat-palette/chat-palette.component.ts | 10 ---------- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/src/app/component/chat-palette/chat-palette.component.html b/src/app/component/chat-palette/chat-palette.component.html index 6a50fc18..49c048a2 100644 --- a/src/app/component/chat-palette/chat-palette.component.html +++ b/src/app/component/chat-palette/chat-palette.component.html @@ -16,7 +16,7 @@
- diff --git a/src/app/component/chat-palette/chat-palette.component.ts b/src/app/component/chat-palette/chat-palette.component.ts index dc4f6569..f4a96e84 100644 --- a/src/app/component/chat-palette/chat-palette.component.ts +++ b/src/app/component/chat-palette/chat-palette.component.ts @@ -101,15 +101,6 @@ export class ChatPaletteComponent implements OnInit, OnDestroy { this.updatePanelTitle(); } - selectPalette(line: string) { - this.text = line; - /* 作りかけ、とりあえず封印 - setTimeout(() => { - this.filterText = line; - }, 300); - */ - } - clickPalette(line: string) { if (!this.chatPletteElementRef.nativeElement) return; const evaluatedLine = this.palette.evaluate(line, this.character.rootDataElement); @@ -166,7 +157,6 @@ export class ChatPaletteComponent implements OnInit, OnDestroy { } filter(value: string): boolean { - console.log(this.filterText) if (this.filterText == null || this.filterText.trim() == '') return true; return StringUtil.toHalfWidth(value.replace(/[―ー—‐]/g, '-')).replace(/[\r\n\s]+/, ' ').trim().indexOf(StringUtil.toHalfWidth(this.filterText.replace(/[―ー—‐]/g, '-')).replace(/[\r\n\s]+/, ' ').trim()) >= 0; }