Skip to content

Commit

Permalink
Show correct mouse cursor for splitters (#2783)
Browse files Browse the repository at this point in the history
This changes the cursor from the grab hand to a proper resize double-arrow.
  • Loading branch information
Timmmm authored Mar 10, 2021
1 parent 1213b91 commit e646c41
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/devtools_app/lib/src/split.dart
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,9 @@ class _SplitState extends State<Split> {
),
if (i < widget.children.length - 1)
MouseRegion(
cursor: SystemMouseCursors.grab,
cursor: isHorizontal
? SystemMouseCursors.resizeColumn
: SystemMouseCursors.resizeRow,
child: GestureDetector(
key: widget.dividerKey(i),
behavior: HitTestBehavior.translucent,
Expand Down

0 comments on commit e646c41

Please sign in to comment.