Skip to content

Commit

Permalink
feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
Erik Corry committed Dec 31, 2023
1 parent c99d911 commit 895ad5a
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/element.toit
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@
import binary show LITTLE-ENDIAN
import bitmap show *
import .four-gray as four-gray
import .true-color as true-color
import .gray-scale as gray-scale
import .one-byte_ as one-byte
import .style show *
import .pixel-display
import font show Font
Expand Down Expand Up @@ -346,9 +342,7 @@ class Label extends Element implements ColoredElement:
orientation = value
else if key == "alignment":
alignment = value
else if key == "label":
text = value
else if key == "text":
else if key == "text" or key == "label":
text = value
else if key == "icon":
icon = value
Expand Down

0 comments on commit 895ad5a

Please sign in to comment.