浏览代码

Reverted Current change

Tig 1 年之前
父节点
当前提交
08fcf05fa6
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Terminal.Gui/Application/Application.cs

+ 1 - 1
Terminal.Gui/Application/Application.cs

@@ -1239,7 +1239,7 @@ public static partial class Application
     ///     Only relevant in scenarios where <see cref="Toplevel.IsOverlappedContainer"/> is <see langword="true"/>.
     /// </remarks>
     /// <value>The current.</value>
-    public static Toplevel Current { get; internal set; }
+    public static Toplevel Current { get; private set; }
 
     private static void EnsureModalOrVisibleAlwaysOnTop (Toplevel topLevel)
     {