mirror of
https://github.com/P3D-Legacy/P3D-Legacy.git
synced 2025-07-29 00:34:38 +02:00
PVP Lobby ready text background size fix
This commit is contained in:
parent
fa8c8cef74
commit
ecd46961e2
@ -180,12 +180,12 @@
|
|||||||
|
|
||||||
'Menu:
|
'Menu:
|
||||||
If ReceivedBattleOffer = True Then
|
If ReceivedBattleOffer = True Then
|
||||||
Canvas.DrawRectangle(New Rectangle(CInt(Core.windowSize.Width / 2 - (64 * 4) / 2), 100, 64 * 4, 64), New Color(255, 255, 255, 150))
|
Canvas.DrawRectangle(New Rectangle(CInt(Core.windowSize.Width / 2 - (64 * 5) / 2), 100, 64 * 5, 64), New Color(255, 255, 255, 150))
|
||||||
Core.SpriteBatch.DrawString(FontManager.MainFont, "Your opponent wants to" & Environment.NewLine & "battle with this setup.", New Vector2(CInt(Core.windowSize.Width / 2 - (64 * 4) / 2) + 4, 104), Color.Black)
|
Core.SpriteBatch.DrawString(FontManager.MainFont, "Your opponent wants to" & Environment.NewLine & "battle with this setup.", New Vector2(CInt(Core.windowSize.Width / 2 - (64 * 4.5) / 2) + 4, 104), Color.Black)
|
||||||
Else
|
Else
|
||||||
If SentBattleOffer = True Then
|
If SentBattleOffer = True Then
|
||||||
Canvas.DrawRectangle(New Rectangle(CInt(Core.windowSize.Width / 2 - (64 * 4) / 2), 100, 64 * 4, 64), New Color(255, 255, 255, 150))
|
Canvas.DrawRectangle(New Rectangle(CInt(Core.windowSize.Width / 2 - (64 * 5) / 2), 100, 64 * 5, 64), New Color(255, 255, 255, 150))
|
||||||
Core.SpriteBatch.DrawString(FontManager.MainFont, "You want to battle" & Environment.NewLine & "with this setup.", New Vector2(CInt(Core.windowSize.Width / 2 - (64 * 4) / 2) + 4, 104), Color.Black)
|
Core.SpriteBatch.DrawString(FontManager.MainFont, "You want to battle" & Environment.NewLine & "with this setup.", New Vector2(CInt(Core.windowSize.Width / 2 - (64 * 4.5) / 2) + 4, 104), Color.Black)
|
||||||
End If
|
End If
|
||||||
End If
|
End If
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user