Commit 48355e69 authored by rockyl's avatar rockyl

x,y转left,top

parent 62395235
......@@ -245,10 +245,10 @@ async function execute$1(psdFile, options) {
uuid: generateUUID(),
};
if (x !== 0) {
properties.x = x;
properties.left = x;
}
if (y !== 0) {
properties.y = y;
properties.top = y;
}
if (typeTool) {
......
This diff is collapsed.
......@@ -251,10 +251,10 @@ async function execute$1(psdFile, options) {
uuid: generateUUID(),
};
if (x !== 0) {
properties.x = x;
properties.left = x;
}
if (y !== 0) {
properties.y = y;
properties.top = y;
}
if (typeTool) {
......
This diff is collapsed.
......@@ -251,10 +251,10 @@
uuid: generateUUID(),
};
if (x !== 0) {
properties.x = x;
properties.left = x;
}
if (y !== 0) {
properties.y = y;
properties.top = y;
}
if (typeTool) {
......
This diff is collapsed.
......@@ -38,10 +38,10 @@ export async function execute(psdFile, options) {
uuid: generateUUID(),
};
if (x !== 0) {
properties.x = x;
properties.left = x;
}
if (y !== 0) {
properties.y = y;
properties.top = y;
}
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