Charlie Kindel пре 5 година
родитељ
комит
24e6866ae5
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)];
 			};