From ec47ab1de5328543124ad3371653d4e62eec302d Mon Sep 17 00:00:00 2001 From: BDisp Date: Mon, 15 Jan 2024 21:42:27 +0000 Subject: [PATCH] Remove constructors with frame parameters from ScrollBarView class. --- Terminal.Gui/Views/ScrollBarView.cs | 22 +--------------------- 1 file changed, 1 insertion(+), 21 deletions(-) diff --git a/Terminal.Gui/Views/ScrollBarView.cs b/Terminal.Gui/Views/ScrollBarView.cs index c6171f8d5..4e82be226 100644 --- a/Terminal.Gui/Views/ScrollBarView.cs +++ b/Terminal.Gui/Views/ScrollBarView.cs @@ -8,7 +8,7 @@ using System; using System.Text; -namespace Terminal.Gui; +namespace Terminal.Gui; /// /// ScrollBarViews are views that display a 1-character scrollbar, either horizontal or vertical @@ -41,26 +41,6 @@ public class ScrollBarView : View { int _size, _position; bool _vertical; - /// - /// Initializes a new instance of the class using - /// layout. - /// - /// Frame for the scrollbar. - public ScrollBarView (Rect rect) : this (rect, 0, 0, false) { } - - /// - /// Initializes a new instance of the class using - /// layout. - /// - /// Frame for the scrollbar. - /// The size that this scrollbar represents. Sets the property. - /// The position within this scrollbar. Sets the property. - /// - /// If set to true this is a vertical scrollbar, otherwise, the scrollbar is horizontal. Sets the - /// property. - /// - public ScrollBarView (Rect rect, int size, int position, bool isVertical) : base (rect) => SetInitialProperties (size, position, isVertical); - /// /// Initializes a new instance of the class using /// layout.