Merge pull request #160 from SpaceManiac/patch/key_super

Add missing key_super method
This commit is contained in:
Joonas Javanainen 2018-10-01 22:14:55 +03:00 committed by GitHub
commit 6d6577bdc4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -333,6 +333,10 @@ impl ImGui {
let io = self.io_mut();
io.key_alt = value;
}
pub fn key_super(&self) -> bool {
let io = self.io();
io.key_super
}
pub fn set_key_super(&mut self, value: bool) {
let io = self.io_mut();
io.key_super = value;