mirror of
https://github.com/emilk/egui.git
synced 2026-08-31 05:40:03 -04:00
Resize windows by dragging any side or corner
This commit is contained in:
@@ -164,7 +164,10 @@ pub fn translate_cursor(cursor_icon: emigui::CursorIcon) -> glutin::MouseCursor
|
||||
match cursor_icon {
|
||||
CursorIcon::Default => glutin::MouseCursor::Default,
|
||||
CursorIcon::PointingHand => glutin::MouseCursor::Hand,
|
||||
CursorIcon::ResizeHorizontal => glutin::MouseCursor::EwResize,
|
||||
CursorIcon::ResizeNeSw => glutin::MouseCursor::NeswResize,
|
||||
CursorIcon::ResizeNwSe => glutin::MouseCursor::NwseResize,
|
||||
CursorIcon::ResizeVertical => glutin::MouseCursor::NsResize,
|
||||
CursorIcon::Text => glutin::MouseCursor::Text,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user