parent
dd7d79a411
commit
c6f095efeb
|
@ -350,7 +350,7 @@ namespace UnityEngine.UI.Extensions
|
||||||
ToggleDropdownPanel(false);
|
ToggleDropdownPanel(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool validity_changed = (_panelItems.Contains (Text) == _selectionIsValid);
|
bool validity_changed = (_panelItems.Contains (Text) != _selectionIsValid);
|
||||||
_selectionIsValid = _panelItems.Contains (Text);
|
_selectionIsValid = _panelItems.Contains (Text);
|
||||||
OnSelectionChanged.Invoke (Text, _selectionIsValid);
|
OnSelectionChanged.Invoke (Text, _selectionIsValid);
|
||||||
OnSelectionTextChanged.Invoke (Text);
|
OnSelectionTextChanged.Invoke (Text);
|
||||||
|
|
Loading…
Reference in New Issue