处理Safari 不支持requestIdleCallback方法

This commit is contained in:
李志鹏
2026-04-24 17:11:48 +08:00
parent 743fc762d6
commit 7bb38bf2e5
4 changed files with 5 additions and 6 deletions

View File

@@ -409,7 +409,7 @@ export class BrushIndicator {
// this.show(e.e);
this._mouseEnterHandler && this._mouseEnterHandler(e)
} else {
// requestIdleCallback(() => {
// setTimeout(() => {
// this.updatePosition(e.e);
// });