|
@@ -76,6 +76,8 @@ public class RadioGroup : View
|
|
KeyBindings.Add (Key.Space, Command.Accept);
|
|
KeyBindings.Add (Key.Space, Command.Accept);
|
|
|
|
|
|
LayoutStarted += RadioGroup_LayoutStarted;
|
|
LayoutStarted += RadioGroup_LayoutStarted;
|
|
|
|
+
|
|
|
|
+ InvertColorsOnPress = true;
|
|
}
|
|
}
|
|
|
|
|
|
/// <summary>
|
|
/// <summary>
|
|
@@ -163,6 +165,7 @@ public class RadioGroup : View
|
|
/// <inheritdoc/>
|
|
/// <inheritdoc/>
|
|
protected internal override bool OnMouseEvent (MouseEvent me)
|
|
protected internal override bool OnMouseEvent (MouseEvent me)
|
|
{
|
|
{
|
|
|
|
+ base.OnMouseEvent (me);
|
|
if (!me.Flags.HasFlag (MouseFlags.Button1Clicked))
|
|
if (!me.Flags.HasFlag (MouseFlags.Button1Clicked))
|
|
{
|
|
{
|
|
return false;
|
|
return false;
|