深度画布调整

This commit is contained in:
lzp
2026-03-16 11:38:58 +08:00
parent 9cd8d82e9e
commit dec750ab48
5 changed files with 45 additions and 4 deletions

View File

@@ -487,7 +487,8 @@ export class BrushManager {
// 更新活动笔刷
if (this.activeBrush) {
this.activeBrush.configure(this.canvas.freeDrawingBrush, { color });
const currentOpacity = this.brushStore.state.opacity;
this.activeBrush.configure(this.canvas.freeDrawingBrush, { color, opacity: currentOpacity });
}
// 更新笔刷指示器大小