mirror of
https://github.com/OpenDiablo2/OpenDiablo2
synced 2025-02-03 07:07:25 -05:00
fixed lint error
This commit is contained in:
parent
d535ae6c2a
commit
ae77badd18
@ -288,7 +288,11 @@ func (v *MainMenu) createMultiplayerLabels() {
|
|||||||
|
|
||||||
v.tcpJoinGameLabel = v.uiManager.NewLabel(d2resource.Font16, d2resource.PaletteUnits)
|
v.tcpJoinGameLabel = v.uiManager.NewLabel(d2resource.Font16, d2resource.PaletteUnits)
|
||||||
v.tcpJoinGameLabel.Alignment = d2ui.HorizontalAlignCenter
|
v.tcpJoinGameLabel.Alignment = d2ui.HorizontalAlignCenter
|
||||||
v.tcpJoinGameLabel.SetText(strings.Join(d2util.SplitIntoLinesWithMaxWidth(v.asset.TranslateString(d2enum.TCPIPEnterHostIPLabel), 27), "\n"))
|
v.tcpJoinGameLabel.SetText(strings.Join(
|
||||||
|
d2util.SplitIntoLinesWithMaxWidth(v.asset.TranslateString(
|
||||||
|
d2enum.TCPIPEnterHostIPLabel,
|
||||||
|
), 27), "\n"))
|
||||||
|
|
||||||
v.tcpJoinGameLabel.Color[0] = d2util.Color(gold)
|
v.tcpJoinGameLabel.Color[0] = d2util.Color(gold)
|
||||||
v.tcpJoinGameLabel.SetPosition(joinGameX, joinGameY)
|
v.tcpJoinGameLabel.SetPosition(joinGameX, joinGameY)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user