public void UpdateState(CrayonBoundUserInterfaceState state) { _selected = state.Selected; ColorSelector.Visible = state.SelectableColor; _color = state.Color; if (ColorSelector.Visible) { ColorSelector.Color = state.Color; } RefreshList(); }
public void UpdateState(CrayonBoundUserInterfaceState state) { _selected = state.Selected; _color = state.Color; RefreshList(); }