@@ -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>
@@ -57,7 +57,7 @@ class Demo {
int count = 0;
ml = new Label (new Rect (3, 16, 50, 1), "Mouse: ");
Application.RootMouseEvent += delegate (MouseEvent me) {
+
ml.Text = $"Mouse: ({me.X},{me.Y}) - {me.Flags} {count++}";