Apply suggestions

This commit is contained in:
Andrei Zavatski 2019-11-13 16:04:15 +03:00
parent 0292cea2c4
commit 6715b25ddd
1 changed files with 3 additions and 3 deletions

View File

@ -118,14 +118,14 @@ protected override void LoadComplete()
protected override bool OnClick(ClickEvent e) protected override bool OnClick(ClickEvent e)
{ {
Selected.Value = !Selected.Value; Selected.Toggle();
return base.OnClick(e); return true;
} }
protected override bool OnHover(HoverEvent e) protected override bool OnHover(HoverEvent e)
{ {
updateState(); updateState();
return base.OnHover(e); return false;
} }
protected override void OnHoverLost(HoverLostEvent e) protected override void OnHoverLost(HoverLostEvent e)