mirror of
https://github.com/FellippeHeitor/InForm.git
synced 2025-01-15 11:59:34 +00:00
Fix xp.uitheme's nondeclared variables.
This commit is contained in:
parent
cab9f5b131
commit
5cd8f67ce9
1 changed files with 1 additions and 0 deletions
|
@ -319,6 +319,7 @@ SUB __UI_DrawToggleSwitch (This AS __UI_ControlTYPE, ControlState AS _BYTE)
|
|||
|
||||
CaptionIndent = 0
|
||||
|
||||
DIM AnimationOffset AS SINGLE
|
||||
AnimationOffset = __UI_MAP(TIMER - This.LastChange, 0, .2, This.Width / 2, 0)
|
||||
IF AnimationOffset < 0 THEN AnimationOffset = 0
|
||||
IF AnimationOffset > This.Width / 2 THEN AnimationOffset = This.Width / 2
|
||||
|
|
Loading…
Reference in a new issue