resolves #77, resolves #42 widths and heights with bounds on them should now prevent other widths/heights from being set.

This commit is contained in:
Matthew Griffith 2019-06-29 17:30:21 -04:00
parent ada7de456e
commit b95ab17bcd

View File

@ -1034,7 +1034,7 @@ gatherAttrRecursive classes node has transform styles attrs children elementAttr
in
gatherAttrRecursive (classes ++ " " ++ newClass)
node
(Flag.merge addToFlags has)
(Flag.merge addToFlags (Flag.add Flag.width has))
transform
(newStyles ++ styles)
attrs
@ -1112,7 +1112,7 @@ gatherAttrRecursive classes node has transform styles attrs children elementAttr
in
gatherAttrRecursive (classes ++ " " ++ newClass)
node
(Flag.merge addToFlags has)
(Flag.merge addToFlags (Flag.add Flag.height has))
transform
(newStyles ++ styles)
attrs