1
0
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:
Matt Fellenz
2022-11-14 02:44:46 -08:00
committed by GitHub
parent ef931c406c
commit 690dc2d2e8

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,