1
0
mirror of https://shylinux.com/x/icebergs synced 2025-04-26 01:24:05 +08:00
This commit is contained in:
IT 老营长 @云轩领航-创始人 2022-09-29 21:22:49 +08:00
parent 193e55602d
commit 3d367e7c5a

View File

@ -86,7 +86,7 @@ func (l *Label) Draw(m *ice.Message, x, y int) wiki.Chart {
args = append(args, "stroke", m.Option("order.fg"))
args = append(args, "fill", m.Option("order.fg"))
}
gs.EchoTexts(TEXT, left+item.GetWidths()/2, top+item.GetHeights()/2, item.Text, args...)
gs.EchoTexts(TEXT, left+item.GetWidths()/2, top+item.GetHeights()/2+4, item.Text, args...)
left += item.GetWidths()
}