瀏覽代碼

Using Visible instead of ShowScrollIndicator.

BDisp 1 年之前
父節點
當前提交
9075acaab6
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Terminal.Gui/Views/Scroll/ScrollBar.cs

+ 1 - 1
Terminal.Gui/Views/Scroll/ScrollBar.cs

@@ -168,7 +168,7 @@ public class ScrollBar : View
 
         if (barSize == 0 || barSize >= Size)
         {
-            if (ShowScrollIndicator)
+            if (Visible)
             {
                 Visible = false;
                 SetNeedsDisplay ();