自定义指令归类

This commit is contained in:
lzp
2026-03-31 15:45:15 +08:00
parent f931ce4927
commit ef52525651
7 changed files with 72 additions and 32 deletions

View File

@@ -199,8 +199,8 @@ export class AISelectboxToolManager {
if (!this.isDragging) return;
this.isDragging = false;
const object = this.indicatorObject.toJSON("evented")
// if (object.width === 0) object.width = 100
// if (object.height === 0) object.height = 100
if (object.width === 0 || object.height === 0) return
this.clearIndicatorObject()
this.canvasManager.canvas.renderAll()