feat: 解决红绿图笔刷颜色不一致问题

This commit is contained in:
bighuixiang
2025-07-10 10:13:24 +08:00
parent 7359fe2f9a
commit d3e22f368b

View File

@@ -134,7 +134,8 @@ export class BatchInitializeRedGreenModeCommand extends Command {
this._setupNormalLayerOpacity(normalLayers); // 这里不需要在这里设置透明度 由图层统一处理
// 9. 创建新的空白图层并设置为活动图层
this.newEmptyLayerId = await this._createAndActivateEmptyLayer();
// this.newEmptyLayerId = await this._createAndActivateEmptyLayer();
this.newEmptyLayerId = normalLayers[0]?.id || null;
// 设置普通图层的裁剪对象为衣服底图
if (backgroundObject) {