Skip to content

Commit 07bff39

Browse files
committed
Address review
1 parent f98ab11 commit 07bff39

2 files changed

Lines changed: 3 additions & 7 deletions

File tree

Robust.Client/UserInterface/Controls/ScrollBar.cs

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff 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)

Robust.Client/UserInterface/Controls/Slider.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
{

0 commit comments

Comments
 (0)