Skip to content

Commit

Permalink
fix mistake added in emilk#2261
Browse files Browse the repository at this point in the history
  • Loading branch information
emilk authored and JohannesProgrammiert committed Jan 21, 2023
1 parent 321e9b7 commit bb86fd6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/egui/src/containers/panel.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand Down Expand Up @@ -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;
}
}
Expand Down

0 comments on commit bb86fd6

Please sign in to comment.