mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2026-01-01 16:59:35 +01:00
Fix radiogroup rectangle region
This commit is contained in:
1
Core.cs
1
Core.cs
@@ -996,7 +996,6 @@ namespace Terminal {
|
||||
Y = ry,
|
||||
Flags = me.Flags
|
||||
};
|
||||
|
||||
// Should we bubbled up the event, if it is not handled?
|
||||
view.MouseEvent (nme);
|
||||
}
|
||||
|
||||
@@ -25,7 +25,7 @@ namespace Terminal {
|
||||
int width = 0;
|
||||
|
||||
foreach (var s in radioLabels)
|
||||
width = Math.Max (radioLabels.Length + 4, width);
|
||||
width = Math.Max (s.Length + 4, width);
|
||||
return new Rect (x, y, width, radioLabels.Length);
|
||||
}
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user