diff options
author | 2024-09-13 16:55:40 +0200 | |
---|---|---|
committer | 2024-09-13 16:55:40 +0200 | |
commit | 1cbedfaac702f16d098e2da2153e07e485780aff (patch) | |
tree | e60ba307f40c7be7c44f58bfb7a99b4f4164089a | |
parent | 6dc71f6f3b1fbf5d0f027e815ccb041cd8e507ae (diff) | |
download | iced-1cbedfaac702f16d098e2da2153e07e485780aff.tar.gz iced-1cbedfaac702f16d098e2da2153e07e485780aff.tar.bz2 iced-1cbedfaac702f16d098e2da2153e07e485780aff.zip |
Rename `ResizingDiagonal*` to `ResizingDiagonally*`
-rw-r--r-- | core/src/mouse/interaction.rs | 4 | ||||
-rw-r--r-- | winit/src/conversion.rs | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/core/src/mouse/interaction.rs b/core/src/mouse/interaction.rs index 92842668..9546c9c6 100644 --- a/core/src/mouse/interaction.rs +++ b/core/src/mouse/interaction.rs @@ -13,8 +13,8 @@ pub enum Interaction { Grabbing, ResizingHorizontally, ResizingVertically, - ResizingDiagonalUp, - ResizingDiagonalDown, + ResizingDiagonallyUp, + ResizingDiagonallyDown, NotAllowed, ZoomIn, ZoomOut, diff --git a/winit/src/conversion.rs b/winit/src/conversion.rs index b974b3b9..d5eb9b97 100644 --- a/winit/src/conversion.rs +++ b/winit/src/conversion.rs @@ -423,10 +423,10 @@ pub fn mouse_interaction( winit::window::CursorIcon::EwResize } Interaction::ResizingVertically => winit::window::CursorIcon::NsResize, - Interaction::ResizingDiagonalUp => { + Interaction::ResizingDiagonallyUp => { winit::window::CursorIcon::NeswResize } - Interaction::ResizingDiagonalDown => { + Interaction::ResizingDiagonallyDown => { winit::window::CursorIcon::NwseResize } Interaction::NotAllowed => winit::window::CursorIcon::NotAllowed, |