Add 'none' alias to Sense::hover (#2306)
This commit is contained in:
parent
ef931c406c
commit
690dc2d2e8
|
|
@ -16,6 +16,7 @@ pub struct Sense {
|
|||
|
||||
impl Sense {
|
||||
/// Senses no clicks or drags. Only senses mouse hover.
|
||||
#[doc(alias = "none")]
|
||||
pub fn hover() -> Self {
|
||||
Self {
|
||||
click: false,
|
||||
|
|
|
|||
Loading…
Reference in New Issue