Compare commits
No commits in common. "d01d39569be1f1427dbde6b4c31cb7d1d7cefb99" and "e62afcd6670c9682f3a44d1ea692126861b823bd" have entirely different histories.
d01d39569b
...
e62afcd667
1
label.go
1
label.go
@ -12,6 +12,5 @@ func NewLabel (text string) *Label {
|
||||
this := &Label { TextBox: tomo.NewTextBox() }
|
||||
this.SetRole(tomo.R("objects", "Label", ""))
|
||||
this.SetText(text)
|
||||
this.SetAlign(tomo.AlignStart, tomo.AlignMiddle)
|
||||
return this
|
||||
}
|
||||
|
@ -1,6 +1,5 @@
|
||||
package objects
|
||||
|
||||
import "math"
|
||||
import "image"
|
||||
import "git.tebibyte.media/tomo/tomo"
|
||||
import "git.tebibyte.media/tomo/tomo/input"
|
||||
@ -34,7 +33,6 @@ func newSlider (orient string, value float64) *Slider {
|
||||
},
|
||||
layout: sliderLayout {
|
||||
vertical: orient == "vertical",
|
||||
value: math.NaN(),
|
||||
},
|
||||
step: 0.05,
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user