mirror of
https://github.com/emilk/egui.git
synced 2026-06-26 22:53:14 -04:00
fix mistake added in #2261
This commit is contained in:
@@ -249,7 +249,7 @@ impl SidePanel {
|
||||
let dragging_something_else = any_down || ui.input().pointer.any_pressed();
|
||||
resize_hover = mouse_over_resize_line && !dragging_something_else;
|
||||
|
||||
{
|
||||
if resize_hover || is_resizing {
|
||||
ui.output().cursor_icon = CursorIcon::ResizeHorizontal;
|
||||
}
|
||||
}
|
||||
@@ -682,7 +682,7 @@ impl TopBottomPanel {
|
||||
let dragging_something_else = any_down || ui.input().pointer.any_pressed();
|
||||
resize_hover = mouse_over_resize_line && !dragging_something_else;
|
||||
|
||||
{
|
||||
if resize_hover || is_resizing {
|
||||
ui.output().cursor_icon = CursorIcon::ResizeVertical;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user