11
This commit is contained in:
@@ -165,7 +165,10 @@ export class ObjectManager {
|
||||
fill.offsetY = offsetY
|
||||
object.set("fill", new fabric.Pattern(fill));
|
||||
this.canvasManager.renderAll()
|
||||
if (isRecord) this.stateManager.recordState()
|
||||
if (isRecord) {
|
||||
this.stateManager.recordState()
|
||||
this.layerManager.updateLayerThumbnailsById(id)
|
||||
}
|
||||
}
|
||||
|
||||
/** 修改平铺间隙
|
||||
@@ -189,7 +192,10 @@ export class ObjectManager {
|
||||
object.info.fill.gapY = gapY
|
||||
object.set("fill", new fabric.Pattern(fill));
|
||||
this.canvasManager.renderAll()
|
||||
if (isRecord) this.stateManager.recordState()
|
||||
if (isRecord) {
|
||||
this.stateManager.recordState()
|
||||
this.layerManager.updateLayerThumbnailsById(id)
|
||||
}
|
||||
}
|
||||
|
||||
dispose() { }
|
||||
|
||||
Reference in New Issue
Block a user