Add 'none' alias to Sense::hover (#2306)

This commit is contained in:
Matt Fellenz 2022-11-14 02:44:46 -08:00 committed by GitHub
parent ef931c406c
commit 690dc2d2e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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,