Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
psd-parse-web
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
劳工
psd-parse-web
Commits
fc9622b0
Commit
fc9622b0
authored
Jul 01, 2020
by
任建锋
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
--
parent
9126cc2e
Changes
7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
11 additions
and
3 deletions
+11
-3
index.es.js
dist/index.es.js
+2
-0
index.es.js.map
dist/index.es.js.map
+1
-1
index.js
dist/index.js
+2
-0
index.js.map
dist/index.js.map
+1
-1
index.umd.js
dist/index.umd.js
+2
-0
index.umd.js.map
dist/index.umd.js.map
+1
-1
zeroing.js
src/zeroing.js
+2
-0
No files found.
dist/index.es.js
View file @
fc9622b0
...
...
@@ -177,6 +177,7 @@ async function execute(psdFile, options) {
value
=
0
;
}
}
console
.
log
(
properties
);
properties
.
style
[
field
]
=
value
;
}
}
...
...
@@ -193,6 +194,7 @@ async function execute(psdFile, options) {
};
let
dealLater
=
true
;
if
(
x
!==
0
)
{
console
.
log
(
properties
);
if
(
!
properties
.
style
.
left
){
properties
.
style
.
left
=
x
-
(
isSecondLayer
?
offset
.
x
:
0
);
}
...
...
dist/index.es.js.map
View file @
fc9622b0
This diff is collapsed.
Click to expand it.
dist/index.js
View file @
fc9622b0
...
...
@@ -183,6 +183,7 @@ async function execute(psdFile, options) {
value
=
0
;
}
}
console
.
log
(
properties
);
properties
.
style
[
field
]
=
value
;
}
}
...
...
@@ -199,6 +200,7 @@ async function execute(psdFile, options) {
};
let
dealLater
=
true
;
if
(
x
!==
0
)
{
console
.
log
(
properties
);
if
(
!
properties
.
style
.
left
){
properties
.
style
.
left
=
x
-
(
isSecondLayer
?
offset
.
x
:
0
);
}
...
...
dist/index.js.map
View file @
fc9622b0
This diff is collapsed.
Click to expand it.
dist/index.umd.js
View file @
fc9622b0
...
...
@@ -183,6 +183,7 @@
value
=
0
;
}
}
console
.
log
(
properties
);
properties
.
style
[
field
]
=
value
;
}
}
...
...
@@ -199,6 +200,7 @@
};
let
dealLater
=
true
;
if
(
x
!==
0
)
{
console
.
log
(
properties
);
if
(
!
properties
.
style
.
left
){
properties
.
style
.
left
=
x
-
(
isSecondLayer
?
offset
.
x
:
0
);
}
...
...
dist/index.umd.js.map
View file @
fc9622b0
This diff is collapsed.
Click to expand it.
src/zeroing.js
View file @
fc9622b0
...
...
@@ -124,6 +124,7 @@ export async function execute(psdFile, options) {
value
=
0
;
}
}
console
.
log
(
properties
)
properties
.
style
[
field
]
=
value
;
}
}
...
...
@@ -140,6 +141,7 @@ export async function execute(psdFile, options) {
};
let
dealLater
=
true
;
if
(
x
!==
0
)
{
console
.
log
(
properties
)
if
(
!
properties
.
style
.
left
){
properties
.
style
.
left
=
x
-
(
isSecondLayer
?
offset
.
x
:
0
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment