fix regression where similar artist links were shrinked to zero

This commit is contained in:
Drew Weymouth
2023-05-02 17:56:17 -07:00
parent 76657b5c1c
commit 0f6d803fa4
+1 -1
View File
@@ -81,9 +81,9 @@ func NewCustomHyperlink() *CustomHyperlink {
}
func (c *CustomHyperlink) SetText(text string) {
c.l.Text = text
lastWrapping := c.l.Wrapping
c.l.Wrapping = fyne.TextWrapOff
c.l.SetText(text)
c.fullTextWidth = c.l.MinSize().Width
c.h.SetText(text)
c.l.Wrapping = lastWrapping