Fixed input still typing with modifiers like ctrl
This commit is contained in:
@@ -26,7 +26,7 @@ impl Element for Input {
|
||||
code, modifiers, ..
|
||||
})) = event.get()
|
||||
{
|
||||
if !modifiers.is_empty() && modifiers.contains(KeyModifiers::SHIFT) {
|
||||
if !modifiers.is_empty() && !modifiers.contains(KeyModifiers::SHIFT) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user