Fix wrong cursor position for scrollbars

This commit is contained in:
JappaWakka 2024-04-17 20:11:49 +02:00
parent 754d88d05b
commit e37b4ed2da
1 changed files with 4 additions and 2 deletions

View File

@ -751,9 +751,11 @@ Public Class NewOptionScreen
End If End If
Next Next
If ScrollControl IsNot Nothing Then If ScrollControl IsNot Nothing Then
End If _cursorDestPosition = New Vector2(cPosition.X + 332, cPosition.Y)
Else
_cursorDestPosition = cPosition _cursorDestPosition = cPosition
End If
End Sub End Sub
Private Function GetButtonPosition(ByVal direction As String) As Vector2 Private Function GetButtonPosition(ByVal direction As String) As Vector2