Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
psd.js
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
regiostart
psd.js
Commits
c4147283
Commit
c4147283
authored
Apr 22, 2015
by
Ryan LeFevre
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Type coords are ints, not doubles. Wtf was I even doing.
parent
c3e53bea
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
typetool.coffee
lib/psd/layer_info/typetool.coffee
+6
-2
No files found.
lib/psd/layer_info/typetool.coffee
View file @
c4147283
...
@@ -43,7 +43,7 @@ module.exports = class TextElements extends LayerInfo
...
@@ -43,7 +43,7 @@ module.exports = class TextElements extends LayerInfo
@
warpData
=
new
Descriptor
(
@
file
).
parse
()
@
warpData
=
new
Descriptor
(
@
file
).
parse
()
for
name
,
index
in
COORDS_VALUE
for
name
,
index
in
COORDS_VALUE
@
coords
[
name
]
=
@
file
.
read
Double
()
@
coords
[
name
]
=
@
file
.
read
Int
()
parseTransformInfo
:
->
parseTransformInfo
:
->
for
name
,
index
in
TRANSFORM_VALUE
for
name
,
index
in
TRANSFORM_VALUE
...
@@ -109,7 +109,11 @@ module.exports = class TextElements extends LayerInfo
...
@@ -109,7 +109,11 @@ module.exports = class TextElements extends LayerInfo
export
:
->
export
:
->
value
:
@
textValue
value
:
@
textValue
font
:
@
fonts
()[
0
]
font
:
name
:
@
fonts
()[
0
]
sizes
:
@
sizes
()
colors
:
@
colors
()
alignment
:
@
alignment
()
left
:
@
coords
.
left
left
:
@
coords
.
left
top
:
@
coords
.
top
top
:
@
coords
.
top
right
:
@
coords
.
right
right
:
@
coords
.
right
...
...
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