Skip to content

Commit

Permalink
Fix bug with returning result instead of newEvent.result
Browse files Browse the repository at this point in the history
  • Loading branch information
zenangst committed Jan 4, 2024
1 parent 5cef498 commit 434964e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/MachPort/MachPortEventController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ public final class MachPortEventController: MachPortEventPublisher {
} else {
event = newEvent
}
return result
return newEvent.result
}

private final func determineModifierKeysLocation(_ cgEvent: CGEvent) -> Bool {
Expand Down

0 comments on commit 434964e

Please sign in to comment.