Replaced the chiseled box with the chiseled pattern
This commit is contained in:
@@ -95,12 +95,12 @@ func (element *Label) draw () {
|
||||
|
||||
artist.FillRectangle (
|
||||
element.core,
|
||||
theme.BackgroundImage(),
|
||||
theme.BackgroundPattern(),
|
||||
bounds)
|
||||
|
||||
textBounds := element.drawer.LayoutBounds()
|
||||
|
||||
foreground := theme.ForegroundImage()
|
||||
foreground := theme.ForegroundPattern(true)
|
||||
element.drawer.Draw (element.core, foreground, image.Point {
|
||||
X: 0 - textBounds.Min.X,
|
||||
Y: 0 - textBounds.Min.Y,
|
||||
|
||||
Reference in New Issue
Block a user