Forces button to redraw before invoke Clicked event.

This commit is contained in:
BDisp
2022-05-03 01:21:27 +01:00
parent 640fecba03
commit ee119ffaac

View File

@@ -328,6 +328,7 @@ namespace Terminal.Gui {
if (!HasFocus) {
SetFocus ();
SetNeedsDisplay ();
Redraw (Bounds);
}
OnClicked ();
}