mirror of
https://github.com/Luzifer/streamdeck.git
synced 2024-12-20 17:51:21 +00:00
Remove deprecated comment
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
fcbbfc0c30
commit
16a04cbfdf
1 changed files with 1 additions and 1 deletions
|
@ -162,7 +162,7 @@ func (displayElementExec) drawText(c *freetype.Context, text string, textColor c
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
|
|
||||||
c.SetSrc(image.NewUniform(textColor)) // TODO: Dynamic
|
c.SetSrc(image.NewUniform(textColor))
|
||||||
|
|
||||||
xcenter := (float64(sd.IconSize()-2*border) / 2.0) - (float64(int(float64(ext.X)/64)) / 2.0) + float64(border)
|
xcenter := (float64(sd.IconSize()-2*border) / 2.0) - (float64(int(float64(ext.X)/64)) / 2.0) + float64(border)
|
||||||
ycenter := (float64(sd.IconSize()-2*border) / 2.0) + (float64(c.PointToFixed(fontsize/2.0)/64) / 2.0) + float64(border)
|
ycenter := (float64(sd.IconSize()-2*border) / 2.0) + (float64(c.PointToFixed(fontsize/2.0)/64) / 2.0) + float64(border)
|
||||||
|
|
Loading…
Reference in a new issue