Removing unnecessary atype attributes
This commit is contained in:
parent
020feae951
commit
a0f145ab3d
@ -36,7 +36,6 @@ export default {
|
||||
matrix = this.transform().localMatrix;
|
||||
|
||||
return {
|
||||
atype: this.type,
|
||||
ax: box.x,
|
||||
ax2: box.x2,
|
||||
ay: matrix.y(0, this.partContainer.getBBox().cy)
|
||||
|
@ -74,7 +74,6 @@ export default {
|
||||
matrix = this.transform().localMatrix;
|
||||
|
||||
return {
|
||||
atype: [start.atype, end.atype].join('/'),
|
||||
ax: matrix.x(start.ax, start.ay),
|
||||
ax2: matrix.x(end.ax2, end.ay),
|
||||
ay: matrix.y(start.ax, start.ay)
|
||||
|
@ -38,7 +38,6 @@ export default class Node {
|
||||
box = this.container.getBBox();
|
||||
|
||||
return _.extend({
|
||||
atype: this.type,
|
||||
ax: box.x,
|
||||
ax2: box.x2,
|
||||
ay: box.cy
|
||||
@ -52,7 +51,6 @@ export default class Node {
|
||||
|
||||
normalizeBBox(box) {
|
||||
return _.extend({
|
||||
atype: 'normalize',
|
||||
ax: box.x,
|
||||
ax2: box.x2,
|
||||
ay: box.cy
|
||||
|
Loading…
Reference in New Issue
Block a user