File tree Expand file tree Collapse file tree 4 files changed +118
-123
lines changed
Examples/UICatalog/Scenarios
Terminal.Gui/Views/TabView Expand file tree Collapse file tree 4 files changed +118
-123
lines changed Original file line number Diff line number Diff line change 1- using System ;
2- using System . Collections . Generic ;
3- using System . Linq ;
4- using System . Text ;
1+ using System . Text ;
52
63namespace UICatalog . Scenarios ;
74
Original file line number Diff line number Diff line change 1- namespace Terminal . Gui ;
1+ namespace Terminal . Gui . Views ;
22
33/// <summary>
44/// Defines tab side.
Original file line number Diff line number Diff line change @@ -133,7 +133,7 @@ public TabView ()
133133 Command . Up ,
134134 ( ) =>
135135 {
136- if ( _style . TabsOnBottom )
136+ if ( _style . TabsSide == TabSide . Bottom )
137137 {
138138 if ( _tabsBar is { HasFocus : true } && _containerView . CanFocus )
139139 {
@@ -176,7 +176,7 @@ public TabView ()
176176 Command . Down ,
177177 ( ) =>
178178 {
179- if ( _style . TabsOnBottom )
179+ if ( _style . TabsSide == TabSide . Bottom )
180180 {
181181 if ( _containerView is { HasFocus : true } )
182182 {
@@ -224,8 +224,6 @@ public TabView ()
224224 KeyBindings . Add ( Key . End , Command . RightEnd ) ;
225225 KeyBindings . Add ( Key . PageDown , Command . PageDown ) ;
226226 KeyBindings . Add ( Key . PageUp , Command . PageUp ) ;
227- KeyBindings . Add ( Key . CursorUp , Command . Up ) ;
228- KeyBindings . Add ( Key . CursorDown , Command . Down ) ;
229227 }
230228
231229 /// <summary>
You can’t perform that action at this time.
0 commit comments