소스 검색

Forces button to redraw before invoke Clicked event.

BDisp 3 년 전
부모
커밋
ee119ffaac
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      Terminal.Gui/Views/Button.cs

+ 1 - 0
Terminal.Gui/Views/Button.cs

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