Bugfix: nil return value in input capture should not stop the event loop. Fixes #179

This commit is contained in:
Oliver 2018-11-10 11:10:01 +01:00
parent ec12437564
commit ebf651d1c0
1 changed files with 1 additions and 1 deletions

View File

@ -216,7 +216,7 @@ EventLoop:
if inputCapture != nil {
event = inputCapture(event)
if event == nil {
break EventLoop // Don't forward event.
continue // Don't forward event.
}
}