瀏覽代碼

fixed merge issue

Charlie Kindel 5 年之前
父節點
當前提交
c9b7e60f09
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      UICatalog/Scenarios/ComputedLayout.cs

+ 1 - 1
UICatalog/Scenarios/ComputedLayout.cs

@@ -28,7 +28,7 @@ namespace UICatalog {
 				ColorScheme = Colors.Error
 			};
 
-			Application.OnResized += () => {
+			Application.Resized += (sender, a) => {
 				horizontalRuler.Text = rule.Repeat ((int)Math.Ceiling ((double)(horizontalRuler.Bounds.Width) / (double)rule.Length)) [0..(horizontalRuler.Bounds.Width)];
 			};