Use keyboard::ModifiersChanged in PaneGrid
This commit is contained in:
parent
78cb805fac
commit
e8aeb86698
1 changed files with 1 additions and 3 deletions
|
|
@ -539,10 +539,8 @@ where
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
*self.pressed_modifiers = modifiers;
|
||||
}
|
||||
keyboard::Event::KeyReleased { modifiers, .. } => {
|
||||
keyboard::Event::ModifiersChanged(modifiers) => {
|
||||
*self.pressed_modifiers = modifiers;
|
||||
}
|
||||
_ => {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue