diff options
| author | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2018-02-18 10:53:30 +0100 |
|---|---|---|
| committer | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2018-02-18 10:53:30 +0100 |
| commit | 53a4e6465e9eed77075be378f520ddc84c79c7fa (patch) | |
| tree | 0bb75b9a387be72a62616e22d8ca69ca9b6a725a /src/GraphicObjects/CheckBox.cs | |
| parent | 446acf127b5afecf3929c8f6aa65627faab570d4 (diff) | |
mouse event revamping, fit measure unit change from Pixels to Percent
Diffstat (limited to 'src/GraphicObjects/CheckBox.cs')
| -rw-r--r-- | src/GraphicObjects/CheckBox.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/GraphicObjects/CheckBox.cs b/src/GraphicObjects/CheckBox.cs index 3a6b2b6a..646a8577 100644 --- a/src/GraphicObjects/CheckBox.cs +++ b/src/GraphicObjects/CheckBox.cs @@ -65,10 +65,10 @@ namespace Crow } } - public override void onMouseClick (object sender, MouseButtonEventArgs e) + public override void onMouseDown (object sender, MouseButtonEventArgs e) { IsChecked = !IsChecked; - base.onMouseClick (sender, e); + base.onMouseDown (sender, e); } } } |