This commit is contained in:
李志鹏
2025-09-27 13:56:13 +08:00
parent aa47c91238
commit 93c49292b9
4 changed files with 9 additions and 17 deletions

View File

@@ -1192,6 +1192,7 @@ export class ToolManager {
if (this.brushIndicator) {
this.brushIndicator.dispose();
this.brushIndicator = null;
console.log("笔刷指示器已清理");
}
// 移除文本编辑相关事件监听器
@@ -1385,6 +1386,7 @@ export class ToolManager {
if (!this.brushIndicator) return;
this.brushIndicator.updateSize(size);
console.log(`笔刷指示器大小已更新为: ${size}`);
}
/**
@@ -1395,6 +1397,7 @@ export class ToolManager {
if (!this.brushIndicator) return;
this.brushIndicator.updateColor(color);
console.log(`笔刷指示器颜色已更新为: ${color}`);
}
/**