feat: 更新红绿图设置逻辑,支持根据图像模式调整属性;修复笔刷类型同步问题
This commit is contained in:
@@ -451,7 +451,9 @@ export class ToolManager {
|
||||
this.brushManager.setBrushOpacity(BrushStore.state.opacity);
|
||||
|
||||
// 同步笔刷类型 - 修复方法名,使用正确的setBrushType方法
|
||||
this.brushManager.setBrushType(BrushStore.state.type);
|
||||
this.brushManager.setBrushType(
|
||||
BrushStore.state.type === "eraser" ? "pencil" : BrushStore.state.type
|
||||
);
|
||||
|
||||
// 同步材质设置
|
||||
if (BrushStore.state.textureEnabled && BrushStore.state.texturePath) {
|
||||
|
||||
Reference in New Issue
Block a user