Made readme better

This commit is contained in:
2023-04-20 00:52:24 -04:00
parent 698414ee65
commit 0063afed8c
3 changed files with 5 additions and 18 deletions

View File

@@ -31,6 +31,7 @@ func NewSlider (value float64, orientation Orientation) (element *Slider) {
element = &Slider {
value: value,
vertical: bool(orientation),
enabled: true,
}
if orientation == Vertical {
element.theme.Case = tomo.C("tomo", "sliderVertical")