Skip to content
Snippets Groups Projects
Unverified Commit 78c6822c authored by Matt Hall's avatar Matt Hall Committed by GitHub
Browse files

Merge pull request #93 from dmtaub/patch-1

Object visibility needs parsed string, too
parents 53d44bd0 4db567b6
No related branches found
No related tags found
No related merge requests found
...@@ -907,7 +907,7 @@ impl Object { ...@@ -907,7 +907,7 @@ impl Object {
("type", obj_type, |v:String| v.parse().ok()), ("type", obj_type, |v:String| v.parse().ok()),
("width", width, |v:String| v.parse().ok()), ("width", width, |v:String| v.parse().ok()),
("height", height, |v:String| v.parse().ok()), ("height", height, |v:String| v.parse().ok()),
("visible", visible, |v:String| v.parse().ok()), ("visible", visible, |v:String| v.parse().ok().map(|x:i32| x == 1)),
("rotation", rotation, |v:String| v.parse().ok()), ("rotation", rotation, |v:String| v.parse().ok()),
], ],
required: [ required: [
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment