Selaa lähdekoodia

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

BDisp 5 vuotta sitten
vanhempi
commit
3f1ce65127
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2 2
      Terminal.Gui/ConsoleDrivers/WindowsDriver.cs

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

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