manups4e / ScaleformUI

ScaleformUI is a GTA menu styled API made with custom Scaleforms to be lighter, faster and visually better
Other
141 stars 49 forks source link

C#: Instructional button fixes #109

Closed QuadrupleTurbo closed 1 year ago

QuadrupleTurbo commented 1 year ago

• Fixed on screen keyboard instructional button press conflicts. • Added a force update method to refresh the button text.

manups4e commented 1 year ago

why is the force reload static? Does it have to be?

QuadrupleTurbo commented 1 year ago

yes from what I've tested

manups4e commented 1 year ago

The object is instanced 🤔 I'll have a look in the afternoon

QuadrupleTurbo commented 1 year ago

alrighty 👍🏻

Local9 commented 1 year ago

Isn't your fault, but _ shouldnt be at the start if non-private fields.

As for ForceUpdate method that should be called via; ScaleformUI.ScaleformUI.InstructionalButtons.ForceUpdate() As the InstructionalButtons is instanced in ScaleformUI, it shouldn't be static

manups4e commented 1 year ago

added manually in https://github.com/manups4e/ScaleformUI/commit/53e730af82cfca8e4fde107a7d67c20b4257176f , you call this by ScaleformUI.ScaleformUI.InstructionalButtons.ForceUpdate()