Skip to content

Commit

Permalink
Update src/style.toit
Browse files Browse the repository at this point in the history
Co-authored-by: Florian Loitsch <[email protected]>
  • Loading branch information
Erik Corry and floitsch authored Dec 18, 2023
1 parent 79d9f64 commit f0704e0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/style.toit
Original file line number Diff line number Diff line change
Expand Up @@ -648,6 +648,7 @@ class Style:
if color != null: map_["color"] = color
if font != null: map_["font"] = font
if border != null: map_["border"] = border
if align-right and align-center: throw "INVALID_ARGUMENT"
if align-right: map_["alignment"] = ALIGN-RIGHT
if align-center: map_["alignment"] = ALIGN-CENTER
Background.check-valid background
Expand Down

0 comments on commit f0704e0

Please sign in to comment.