mirror of
https://github.com/emilk/egui.git
synced 2026-08-31 22:00:03 -04:00
Show resize mouse cursor when resizing windows
This commit is contained in:
@@ -170,6 +170,10 @@ impl Window {
|
||||
state.rect = state.rect.translate(ctx.input().mouse_move);
|
||||
}
|
||||
|
||||
if corner_interact.hovered || corner_interact.active {
|
||||
*ctx.cursor_icon.lock() = CursorIcon::ResizeNorthWestSouthEast;
|
||||
}
|
||||
|
||||
let mut memory = ctx.memory.lock();
|
||||
if win_interact.active || corner_interact.active {
|
||||
memory.move_window_to_top(id);
|
||||
|
||||
Reference in New Issue
Block a user