From 3e6b8a2669b81fd4ad06f8df9fb4c3b87a964140 Mon Sep 17 00:00:00 2001 From: alcexhim Date: Mon, 30 Jun 2014 21:37:33 -0400 Subject: [PATCH] Use Engine.LastWindow instead of HostApplication.CurrentWindow (new convention) --- CSharp/Libraries/UniversalEditor.UserInterface/Engine.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CSharp/Libraries/UniversalEditor.UserInterface/Engine.cs b/CSharp/Libraries/UniversalEditor.UserInterface/Engine.cs index 879b6b57..f2c09b53 100644 --- a/CSharp/Libraries/UniversalEditor.UserInterface/Engine.cs +++ b/CSharp/Libraries/UniversalEditor.UserInterface/Engine.cs @@ -133,8 +133,8 @@ namespace UniversalEditor.UserInterface AttachCommandEventHandler("ViewFullScreen", delegate(object sender, EventArgs e) { Command cmd = (sender as Command); - HostApplication.CurrentWindow.FullScreen = !HostApplication.CurrentWindow.FullScreen; - cmd.Checked = HostApplication.CurrentWindow.FullScreen; + LastWindow.FullScreen = !LastWindow.FullScreen; + cmd.Checked = LastWindow.FullScreen; }); #endregion #region Tools