Improve pane selection when resizing a PaneGrid
This commit is contained in:
parent
eb5e2251bd
commit
ec334bdd36
3 changed files with 71 additions and 69 deletions
|
|
@ -73,8 +73,8 @@ impl pane_grid::Renderer for Renderer {
|
|||
MouseCursor::Grabbing
|
||||
} else if let Some(axis) = resizing {
|
||||
match axis {
|
||||
Axis::Horizontal => MouseCursor::ResizingHorizontally,
|
||||
Axis::Vertical => MouseCursor::ResizingVertically,
|
||||
Axis::Horizontal => MouseCursor::ResizingVertically,
|
||||
Axis::Vertical => MouseCursor::ResizingHorizontally,
|
||||
}
|
||||
} else {
|
||||
mouse_cursor
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue