Rename ResizingDiagonal* to ResizingDiagonally*

This commit is contained in:
Héctor Ramón Jiménez 2024-09-13 16:55:40 +02:00
parent 6dc71f6f3b
commit 1cbedfaac7
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
2 changed files with 4 additions and 4 deletions

View file

@ -13,8 +13,8 @@ pub enum Interaction {
Grabbing, Grabbing,
ResizingHorizontally, ResizingHorizontally,
ResizingVertically, ResizingVertically,
ResizingDiagonalUp, ResizingDiagonallyUp,
ResizingDiagonalDown, ResizingDiagonallyDown,
NotAllowed, NotAllowed,
ZoomIn, ZoomIn,
ZoomOut, ZoomOut,

View file

@ -423,10 +423,10 @@ pub fn mouse_interaction(
winit::window::CursorIcon::EwResize winit::window::CursorIcon::EwResize
} }
Interaction::ResizingVertically => winit::window::CursorIcon::NsResize, Interaction::ResizingVertically => winit::window::CursorIcon::NsResize,
Interaction::ResizingDiagonalUp => { Interaction::ResizingDiagonallyUp => {
winit::window::CursorIcon::NeswResize winit::window::CursorIcon::NeswResize
} }
Interaction::ResizingDiagonalDown => { Interaction::ResizingDiagonallyDown => {
winit::window::CursorIcon::NwseResize winit::window::CursorIcon::NwseResize
} }
Interaction::NotAllowed => winit::window::CursorIcon::NotAllowed, Interaction::NotAllowed => winit::window::CursorIcon::NotAllowed,