diff options
author | 2020-06-27 03:40:04 +0200 | |
---|---|---|
committer | 2020-06-27 03:40:04 +0200 | |
commit | b5d842f877145c78f5d595a87cc1927bb6f5b86a (patch) | |
tree | 41cbfafa37b7f08b40a24dfd3714dfcc9812706b /graphics | |
parent | 754b8f819e223c7d31f633f43d322dcc0a0d3b93 (diff) | |
download | iced-b5d842f877145c78f5d595a87cc1927bb6f5b86a.tar.gz iced-b5d842f877145c78f5d595a87cc1927bb6f5b86a.tar.bz2 iced-b5d842f877145c78f5d595a87cc1927bb6f5b86a.zip |
Show idle cursor when hovering a disabled `Button`
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/src/widget/button.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/src/widget/button.rs b/graphics/src/widget/button.rs index aeb862d5..ecabc868 100644 --- a/graphics/src/widget/button.rs +++ b/graphics/src/widget/button.rs @@ -103,7 +103,7 @@ where } else { content }, - if is_mouse_over { + if is_mouse_over && !is_disabled { mouse::Interaction::Pointer } else { mouse::Interaction::default() |