Commit 48355e69 authored by rockyl's avatar rockyl

x,y转left,top

parent 62395235
...@@ -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.x = x; properties.left = x;
} }
if (y !== 0) { if (y !== 0) {
properties.y = y; properties.top = 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.x = x; properties.left = x;
} }
if (y !== 0) { if (y !== 0) {
properties.y = y; properties.top = 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.x = x; properties.left = x;
} }
if (y !== 0) { if (y !== 0) {
properties.y = y; properties.top = 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.x = x; properties.left = x;
} }
if (y !== 0) { if (y !== 0) {
properties.y = y; properties.top = 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