Browse Source

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

pull/2313/head
Matt Fellenz 2 years ago
committed by GitHub
parent
commit
690dc2d2e8
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      crates/egui/src/sense.rs

1
crates/egui/src/sense.rs

@ -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…
Cancel
Save