Browse Source

Using Visible instead of ShowScrollIndicator.

BDisp 1 năm trước cách đây
mục cha
commit
9075acaab6
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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 ();