File tree Expand file tree Collapse file tree
Robust.Client/UserInterface/Controls Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -45,9 +45,7 @@ protected ScrollBar(OrientationMode orientation)
4545 ReservesSpace = true ;
4646
4747 _orientation = orientation ;
48- DefaultCursorShape = orientation == OrientationMode . Horizontal
49- ? CursorShape . HResize
50- : CursorShape . VResize ;
48+ DefaultCursorShape = CursorShape . Pointer ;
5149 }
5250
5351 public bool IsAtEnd
@@ -134,9 +132,7 @@ protected internal override void MouseMove(GUIMouseMoveEventArgs args)
134132
135133 if ( _isHovered || _grabData != null )
136134 {
137- DefaultCursorShape = _orientation == OrientationMode . Horizontal
138- ? CursorShape . HResize
139- : CursorShape . VResize ;
135+ DefaultCursorShape = CursorShape . Pointer ;
140136 }
141137
142138 if ( _grabData == null )
Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ public StyleBox? GrabberStyleBoxOverride
8181 public Slider ( )
8282 {
8383 MouseFilter = MouseFilterMode . Stop ;
84- DefaultCursorShape = CursorShape . HResize ;
84+ DefaultCursorShape = CursorShape . Pointer ;
8585
8686 AddChild ( new LayoutContainer
8787 {
You can’t perform that action at this time.
0 commit comments