Commit 7e486f92 authored by 张九刚's avatar 张九刚

删除默认无关属性

parent 183b25b2
......@@ -186,13 +186,13 @@ async function execute(psdFile, options) {
}
}
properties.style.position = "absolute"
properties.style.transformOrigin = "0px 0px 0px";
viewNode.rect = {
x: properties.style.left ? properties.style.left : 0,
y: properties.style.top ? properties.style.top : 0,
width: properties.style.width,
height: properties.style.height
}
// properties.style.transformOrigin = "0px 0px 0px";
// viewNode.rect = {
// x: properties.style.left ? properties.style.left : 0,
// y: properties.style.top ? properties.style.top : 0,
// width: properties.style.width,
// height: properties.style.height
// }
if (typeTool) {
let fontInfo = 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