|
@@ -375,7 +375,7 @@ export default {
|
|
|
}
|
|
}
|
|
|
}*/
|
|
}*/
|
|
|
if(newColor !== this.this_canvas.bg_color)this.fcanvas.setBackgroundColor(newColor);
|
|
if(newColor !== this.this_canvas.bg_color)this.fcanvas.setBackgroundColor(newColor);
|
|
|
- let objects = this.fcanvas.getObjects();
|
|
|
|
|
|
|
+ /* let objects = this.fcanvas.getObjects();
|
|
|
|
|
|
|
|
objects.forEach(function(object) {
|
|
objects.forEach(function(object) {
|
|
|
// 调整对象的位置
|
|
// 调整对象的位置
|
|
@@ -383,7 +383,7 @@ export default {
|
|
|
object.top = object.top ;
|
|
object.top = object.top ;
|
|
|
object.controls = fabric.Object.prototype.controls
|
|
object.controls = fabric.Object.prototype.controls
|
|
|
|
|
|
|
|
- });
|
|
|
|
|
|
|
+ });*/
|
|
|
|
|
|
|
|
// 重新渲染以应用更改
|
|
// 重新渲染以应用更改
|
|
|
this.fcanvas.requestRenderAll();
|
|
this.fcanvas.requestRenderAll();
|