Commit 60778a9e authored by Li MingZhe's avatar Li MingZhe

fix: 取消聚焦

parent 3fb21f37
...@@ -215,8 +215,8 @@ export class LrcEditorComponent implements OnInit, OnChanges, OnDestroy, AfterVi ...@@ -215,8 +215,8 @@ export class LrcEditorComponent implements OnInit, OnChanges, OnDestroy, AfterVi
this.adContext.decodeAudioData(ab).then(adb => { this.adContext.decodeAudioData(ab).then(adb => {
this.draw(adb); this.draw(adb);
this.isLoadingAudioBuffer = false; this.isLoadingAudioBuffer = false;
(document.activeElement as HTMLButtonElement).blur(); // (document.activeElement as HTMLButtonElement).blur();
this.canvasElRef.nativeElement.focus(); // this.canvasElRef.nativeElement.focus();
}); });
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment