We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 421aa5c commit 876b630Copy full SHA for 876b630
exp/util/drawText.go
@@ -48,7 +48,7 @@ func NewText(images *glutil.Images) *Text {
48
func (t *Text) Draw(sz size.Event, x, y int, scaleX, scaleY geom.Pt, s string) {
49
if sz.WidthPx == 0 && sz.HeightPx == 0 {
50
return
51
- } else if t.m == nil {
+ } else if t.sz != sz {
52
t.sz = sz
53
if t.m != nil {
54
t.m.Release()
0 commit comments