Commit 901b139a authored by rockyl's avatar rockyl

完善打包逻辑

parent 48355e69
...@@ -245,10 +245,10 @@ async function execute$1(psdFile, options) { ...@@ -245,10 +245,10 @@ async function execute$1(psdFile, options) {
uuid: generateUUID(), uuid: generateUUID(),
}; };
if (x !== 0) { if (x !== 0) {
properties.left = x; properties.x = x;
} }
if (y !== 0) { if (y !== 0) {
properties.top = y; properties.y = y;
} }
if (typeTool) { if (typeTool) {
......
This diff is collapsed.
...@@ -251,10 +251,10 @@ async function execute$1(psdFile, options) { ...@@ -251,10 +251,10 @@ async function execute$1(psdFile, options) {
uuid: generateUUID(), uuid: generateUUID(),
}; };
if (x !== 0) { if (x !== 0) {
properties.left = x; properties.x = x;
} }
if (y !== 0) { if (y !== 0) {
properties.top = y; properties.y = y;
} }
if (typeTool) { if (typeTool) {
......
This diff is collapsed.
...@@ -251,10 +251,10 @@ ...@@ -251,10 +251,10 @@
uuid: generateUUID(), uuid: generateUUID(),
}; };
if (x !== 0) { if (x !== 0) {
properties.left = x; properties.x = x;
} }
if (y !== 0) { if (y !== 0) {
properties.top = y; properties.y = y;
} }
if (typeTool) { if (typeTool) {
......
This diff is collapsed.
...@@ -38,10 +38,10 @@ export async function execute(psdFile, options) { ...@@ -38,10 +38,10 @@ export async function execute(psdFile, options) {
uuid: generateUUID(), uuid: generateUUID(),
}; };
if (x !== 0) { if (x !== 0) {
properties.left = x; properties.x = x;
} }
if (y !== 0) { if (y !== 0) {
properties.top = y; properties.y = y;
} }
if (typeTool) { if (typeTool) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment