소스 검색

Added Async in the end as per tenets for async calls.

BDisp 5 년 전
부모
커밋
3f1ce65127
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      Terminal.Gui/ConsoleDrivers/WindowsDriver.cs

+ 2 - 2
Terminal.Gui/ConsoleDrivers/WindowsDriver.cs

@@ -728,7 +728,7 @@ namespace Terminal.Gui {
 
 
 			if (IsButtonDoubleClicked) {
 			if (IsButtonDoubleClicked) {
 				Application.MainLoop.AddIdle (() => {
 				Application.MainLoop.AddIdle (() => {
-					ProcessButtonDoubleClicked ().ConfigureAwait (false);
+					ProcessButtonDoubleClickedAsync ().ConfigureAwait (false);
 					return false;
 					return false;
 				});
 				});
 			}
 			}
@@ -879,7 +879,7 @@ namespace Terminal.Gui {
 			};
 			};
 		}
 		}
 
 
-		private async Task ProcessButtonDoubleClicked ()
+		private async Task ProcessButtonDoubleClickedAsync ()
 		{
 		{
 			await Task.Delay (200);
 			await Task.Delay (200);
 			IsButtonDoubleClicked = false;
 			IsButtonDoubleClicked = false;