1
0
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:
Emil Ernerfeldt
2022-11-08 00:51:50 +01:00
parent 4aacb4575b
commit c3edc1b88e

View File

@@ -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;
}
}