mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-27 16:27:55 +01:00
Forces button to redraw before invoke Clicked event.
This commit is contained in:
@@ -328,6 +328,7 @@ namespace Terminal.Gui {
|
||||
if (!HasFocus) {
|
||||
SetFocus ();
|
||||
SetNeedsDisplay ();
|
||||
Redraw (Bounds);
|
||||
}
|
||||
OnClicked ();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user