feat: 实时更新背景色+选取剪切+选取删除初步开发完成

This commit is contained in:
bighuixiang
2025-07-03 00:04:05 +08:00
parent eb1848bd6d
commit b6afd2764d
8 changed files with 1130 additions and 106 deletions

View File

@@ -1,10 +1,8 @@
import { fabric } from "fabric-with-all";
import { generateId } from "../../utils/helper";
import { OperationType } from "../../utils/layerHelper";
import {
ClearSelectionCommand,
CreateSelectionCommand,
} from "../../commands/SelectionCommands";
import { CreateSelectionCommand } from "../../commands/SelectionCommands";
import { ClearSelectionCommand } from "../../commands/LassoCutoutCommand";
/**
* 选区管理器