mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-29 17:28:01 +01:00
Rename IApplication.Current to TopRunnable
Co-authored-by: tig <585482+tig@users.noreply.github.com>
This commit is contained in:
@@ -46,9 +46,9 @@ public class ViewCommandTests
|
||||
|
||||
w.LayoutSubViews ();
|
||||
|
||||
Application.Current = w;
|
||||
Application.TopRunnable = w;
|
||||
Application.SessionStack.Push (w);
|
||||
Assert.Same (Application.Current, w);
|
||||
Assert.Same (Application.TopRunnable, w);
|
||||
|
||||
// Click button 2
|
||||
Rectangle btn2Frame = btnB.FrameToScreen ();
|
||||
@@ -121,9 +121,9 @@ public class ViewCommandTests
|
||||
|
||||
w.Add (btn);
|
||||
|
||||
Application.Current = w;
|
||||
Application.TopRunnable = w;
|
||||
Application.SessionStack.Push (w);
|
||||
Assert.Same (Application.Current, w);
|
||||
Assert.Same (Application.TopRunnable, w);
|
||||
|
||||
w.LayoutSubViews ();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user