mirror of
https://github.com/emilk/egui.git
synced 2026-06-26 22:53:14 -04:00
Add 'none' alias to Sense::hover (#2306)
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user