feat: 解决红绿图笔刷颜色不一致问题
This commit is contained in:
@@ -134,7 +134,8 @@ export class BatchInitializeRedGreenModeCommand extends Command {
|
|||||||
this._setupNormalLayerOpacity(normalLayers); // 这里不需要在这里设置透明度 由图层统一处理
|
this._setupNormalLayerOpacity(normalLayers); // 这里不需要在这里设置透明度 由图层统一处理
|
||||||
|
|
||||||
// 9. 创建新的空白图层并设置为活动图层
|
// 9. 创建新的空白图层并设置为活动图层
|
||||||
this.newEmptyLayerId = await this._createAndActivateEmptyLayer();
|
// this.newEmptyLayerId = await this._createAndActivateEmptyLayer();
|
||||||
|
this.newEmptyLayerId = normalLayers[0]?.id || null;
|
||||||
|
|
||||||
// 设置普通图层的裁剪对象为衣服底图
|
// 设置普通图层的裁剪对象为衣服底图
|
||||||
if (backgroundObject) {
|
if (backgroundObject) {
|
||||||
|
|||||||
Reference in New Issue
Block a user