diff --git a/Perspex.Windows/Window.cs b/Perspex.Windows/Window.cs index d169582299..cc9f27160c 100644 --- a/Perspex.Windows/Window.cs +++ b/Perspex.Windows/Window.cs @@ -23,6 +23,7 @@ this.LayoutManager = new LayoutManager(); this.renderer = new Renderer(this.Handle, (int)clientSize.Width, (int)clientSize.Height); + // TODO: Do this by pushing to Dispatcher rather than right away! this.LayoutManager.LayoutNeeded.Subscribe(x => { this.LayoutManager.ExecuteLayoutPass(); diff --git a/Perspex/Controls/TextBlock.cs b/Perspex/Controls/TextBlock.cs index 943ae048cd..d67cd5d067 100644 --- a/Perspex/Controls/TextBlock.cs +++ b/Perspex/Controls/TextBlock.cs @@ -8,7 +8,7 @@ Border.BackgroundProperty.AddOwner(); public static readonly PerspexProperty ForegroundProperty = - PerspexProperty.Register( + PerspexProperty.Register( "Foreground", defaultValue: new SolidColorBrush(0xff000000), inherits: true);