mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-27 00:07:58 +01:00
BarSize should use Viewport.
This commit is contained in:
@@ -207,7 +207,7 @@ public class Scroll : View
|
||||
|
||||
internal ScrollBar? SupView => SuperView as ScrollBar;
|
||||
|
||||
private int BarSize => Orientation == Orientation.Vertical ? GetContentSize ().Height : GetContentSize ().Width;
|
||||
private int BarSize => Orientation == Orientation.Vertical ? Viewport.Height : Viewport.Width;
|
||||
|
||||
private void SetScrollText ()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user