Show NotAllowed as mouse icon when hovering a disabled TextInput

This commit is contained in:
Héctor Ramón Jiménez 2023-04-12 04:37:39 +02:00
parent 1de794aabf
commit 7e7e66586d
No known key found for this signature in database
GPG key ID: 140CC052C94F138E
3 changed files with 9 additions and 2 deletions

View file

@ -236,6 +236,7 @@ pub fn mouse_interaction(
winit::window::CursorIcon::EwResize
}
Interaction::ResizingVertically => winit::window::CursorIcon::NsResize,
Interaction::NotAllowed => winit::window::CursorIcon::NotAllowed,
}
}