aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/GraphicObjects/RadioButton.cs
diff options
context:
space:
mode:
authorJean-Philippe Bruyère <jp_bruyere@hotmail.com>2018-02-18 10:53:30 +0100
committerJean-Philippe Bruyère <jp_bruyere@hotmail.com>2018-02-18 10:53:30 +0100
commit2fe8a2c781c270279e7bf579b76fddc3d7fc8cbe (patch)
tree1a3c2b62e5df15445333ea5eb0c1d2f94d75a5b5 /src/GraphicObjects/RadioButton.cs
parent632bd63db115383da4216ee31ff0e9d39081e87b (diff)
mouse event revamping, fit measure unit change from Pixels to Percent
Diffstat (limited to 'src/GraphicObjects/RadioButton.cs')
-rw-r--r--src/GraphicObjects/RadioButton.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/GraphicObjects/RadioButton.cs b/src/GraphicObjects/RadioButton.cs
index ead332ea..4c553481 100644
--- a/src/GraphicObjects/RadioButton.cs
+++ b/src/GraphicObjects/RadioButton.cs
@@ -43,7 +43,7 @@ namespace Crow
public event EventHandler Unchecked;
#region GraphicObject overrides
- public override void onMouseClick (object sender, MouseButtonEventArgs e)
+ public override void onMouseDown (object sender, MouseButtonEventArgs e)
{
Group pg = Parent as Group;
if (pg != null) {
@@ -56,7 +56,7 @@ namespace Crow
} else
IsChecked = !IsChecked;
- base.onMouseClick (sender, e);
+ base.onMouseDown (sender, e);
}
#endregion