Added repeat property to KeyboardEvent.

This commit is contained in:
iMplode nZ 2021-08-06 11:55:35 -07:00
parent 3f1bf81a3e
commit 57ca7d9d24
1 changed files with 1 additions and 0 deletions

View File

@ -120,6 +120,7 @@ macro_rules! make_keyboard_event {
#[inline] pub fn ctrl_key(&self) -> bool { self.event.ctrl_key() || self.event.meta_key() }
#[inline] pub fn shift_key(&self) -> bool { self.event.shift_key() }
#[inline] pub fn alt_key(&self) -> bool { self.event.alt_key() }
#[inline] pub fn repeat(&self) -> bool { self.event.repeat() }
}
};
}