fix mistake added in #2261
This commit is contained in:
parent
4aacb4575b
commit
c3edc1b88e
1 changed files with 2 additions and 2 deletions
|
@ -249,7 +249,7 @@ impl SidePanel {
|
||||||
let dragging_something_else = any_down || ui.input().pointer.any_pressed();
|
let dragging_something_else = any_down || ui.input().pointer.any_pressed();
|
||||||
resize_hover = mouse_over_resize_line && !dragging_something_else;
|
resize_hover = mouse_over_resize_line && !dragging_something_else;
|
||||||
|
|
||||||
{
|
if resize_hover || is_resizing {
|
||||||
ui.output().cursor_icon = CursorIcon::ResizeHorizontal;
|
ui.output().cursor_icon = CursorIcon::ResizeHorizontal;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -682,7 +682,7 @@ impl TopBottomPanel {
|
||||||
let dragging_something_else = any_down || ui.input().pointer.any_pressed();
|
let dragging_something_else = any_down || ui.input().pointer.any_pressed();
|
||||||
resize_hover = mouse_over_resize_line && !dragging_something_else;
|
resize_hover = mouse_over_resize_line && !dragging_something_else;
|
||||||
|
|
||||||
{
|
if resize_hover || is_resizing {
|
||||||
ui.output().cursor_icon = CursorIcon::ResizeVertical;
|
ui.output().cursor_icon = CursorIcon::ResizeVertical;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue