Commit c4147283 authored by Ryan LeFevre's avatar Ryan LeFevre

Type coords are ints, not doubles. Wtf was I even doing.

parent c3e53bea
......@@ -43,7 +43,7 @@ module.exports = class TextElements extends LayerInfo
@warpData = new Descriptor(@file).parse()
for name, index in COORDS_VALUE
@coords[name] = @file.readDouble()
@coords[name] = @file.readInt()
parseTransformInfo: ->
for name, index in TRANSFORM_VALUE
......@@ -109,7 +109,11 @@ module.exports = class TextElements extends LayerInfo
export: ->
value: @textValue
font: @fonts()[0]
font:
name: @fonts()[0]
sizes: @sizes()
colors: @colors()
alignment: @alignment()
left: @coords.left
top: @coords.top
right: @coords.right
......
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