At the request of the PR update author
release
Simon Jackson 2017-05-07 18:16:36 +01:00
parent dd7d79a411
commit c6f095efeb
1 changed files with 1 additions and 1 deletions

View File

@ -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);