mirror of
https://github.com/eliasstepanik/imgui-rs.git
synced 2026-01-16 07:58:33 +00:00
Merge pull request #160 from SpaceManiac/patch/key_super
Add missing key_super method
This commit is contained in:
commit
6d6577bdc4
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user