Browse Source

oops. left args off Resized

Charlie Kindel 5 năm trước cách đây
mục cha
commit
e4ae286c90
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      Terminal.Gui/Core.cs

+ 2 - 2
Terminal.Gui/Core.cs

@@ -2555,9 +2555,9 @@ namespace Terminal.Gui {
 		}
 
 		/// <summary>
-		/// Invoked when the terminal was resized.
+		/// Invoked when the terminal was resized. The new size of the terminal is provided.
 		/// </summary>
-		static public event EventHandler Resized;
+		static public event EventHandler<ResizedEventArgs> Resized;
 
 		static void TerminalResized ()
 		{