#Toggle visually changes state when leaving it's BG area

1 messages · Page 1 of 1 (latest)

quartz summit
#

I have a Toggle object on a panel.
And added a script to it's OnValueChanged(Boolean) event via inspector to do stuff.
The event code itself works, but when I toggle if off and my mouse cursor leaves the white area of the toggle, it visually turns the checkmark back on, without changing the "isOn" state.
I have no other event listeners anywhere near the panel or the Toggle. Only using the built-in one of the Toggle component.

Any ideas what causes the checkmark to visually re-appear?