mirror of
https://github.com/P3D-Legacy/P3D-Legacy.git
synced 2025-07-28 16:24:45 +02:00
Fix for party screen bug (read description)
Fixed bug in the Party Screen where the Pokémon icons were covered by selection boxes
This commit is contained in:
parent
0a47307a7c
commit
a745630c73
@ -252,10 +252,6 @@ Public Class PartyScreen
|
|||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Private Sub DrawPokemonArea()
|
Private Sub DrawPokemonArea()
|
||||||
For i = 0 To PokemonList.Count - 1
|
|
||||||
DrawPokemon(i)
|
|
||||||
Next
|
|
||||||
|
|
||||||
Canvas.DrawBorder(3, New Rectangle(CInt(_cursorPosition.X) - 3, CInt(_cursorPosition.Y) - 3, 300, 82), New Color(200, 80, 80, CInt(200 * _interfaceFade)))
|
Canvas.DrawBorder(3, New Rectangle(CInt(_cursorPosition.X) - 3, CInt(_cursorPosition.Y) - 3, 300, 82), New Color(200, 80, 80, CInt(200 * _interfaceFade)))
|
||||||
|
|
||||||
If _isSwitching Then
|
If _isSwitching Then
|
||||||
@ -263,6 +259,9 @@ Public Class PartyScreen
|
|||||||
|
|
||||||
Canvas.DrawBorder(3, New Rectangle(CInt(switchPosition.X) - 6, CInt(switchPosition.Y) - 6, 306, 88), New Color(80, 80, 200, CInt(200 * _interfaceFade)))
|
Canvas.DrawBorder(3, New Rectangle(CInt(switchPosition.X) - 6, CInt(switchPosition.Y) - 6, 306, 88), New Color(80, 80, 200, CInt(200 * _interfaceFade)))
|
||||||
End If
|
End If
|
||||||
|
For i = 0 To PokemonList.Count - 1
|
||||||
|
DrawPokemon(i)
|
||||||
|
Next
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Private Sub DrawPokemon(ByVal index As Integer)
|
Private Sub DrawPokemon(ByVal index As Integer)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user