Made the stripey sunken background optional
This commit is contained in:
@@ -43,7 +43,7 @@ func (element *ProgressBar) draw () {
|
||||
|
||||
artist.FillRectangle (
|
||||
element.core,
|
||||
theme.SunkenPattern(),
|
||||
theme.SunkenPattern(false),
|
||||
bounds)
|
||||
meterBounds := image.Rect (
|
||||
bounds.Min.X + 2, bounds.Min.Y + 2,
|
||||
|
||||
@@ -43,7 +43,7 @@ func (element *AnalogClock) draw () {
|
||||
|
||||
artist.FillRectangle (
|
||||
element,
|
||||
theme.SunkenPattern(),
|
||||
theme.SunkenPattern(false),
|
||||
bounds)
|
||||
|
||||
for hour := 0; hour < 12; hour ++ {
|
||||
|
||||
Reference in New Issue
Block a user