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; }