Suggested code change in BOLD to handle unwanted button state when using LCARSbuttons for other applications.
In this case, button gets stuck in "dim" state when LCARSbuttonsClass.Flash() is set to false during dim state. This is due to "isflashing" never being reset out of "True" and the Button refresh specifically has "If isLit XOR isflashing" for determining redraw state.
@@ -325,6 +325,7 @@ Public Class LCARSbuttonClass
flasher.Start()
Else
flasher.Abort()
isFlashing = False
Lit = litBuffer
End If
End
Suggested code change in BOLD to handle unwanted button state when using LCARSbuttons for other applications.
In this case, button gets stuck in "dim" state when LCARSbuttonsClass.Flash() is set to false during dim state. This is due to "isflashing" never being reset out of "True" and the Button refresh specifically has "If isLit XOR isflashing" for determining redraw state.
@@ -325,6 +325,7 @@ Public Class LCARSbuttonClass flasher.Start() Else flasher.Abort() isFlashing = False Lit = litBuffer End If End