Skip to content

v1.3.8.4

Choose a tag to compare

@github-actions github-actions released this 11 Jan 04:16
· 1 commit to 2036eac36b42390fd442585de7f85d7ac39d1b92 since this release

Bug/62 windows are a bit sticky (#64)

  • Enhance gesture handling in MultitouchManager
  • Introduced a new property to track if the last gesture was active, improving event suppression logic.
  • Updated gesture state management to ensure accurate suppression of events based on the last gesture's activity.
  • Refactored gesture active checks to incorporate modifier key requirements, ensuring only valid gestures are considered active.
  • Adjusted related logic in gesture recognizer delegate methods to maintain consistency in gesture state updates.
  • Add tests for modifier key event suppression in MultitouchManager
  • Implemented multiple test cases to verify the behavior of event suppression based on modifier key states during gesture recognition.
  • Added tests to ensure events are correctly processed or suppressed when modifier keys are held or released during active gestures.
  • Included checks for the expiration of the event suppression window after gesture completion.
  • Enhanced coverage for scenarios involving active and cancelled gestures, ensuring robust handling of event processing logic.
  • Refactor MultitouchManager to enhance force click support and remove modifier key tests
  • Updated the logic to convert left clicks to middle clicks based on the raw finger count during 3-finger gestures, improving force click functionality.
  • Removed tests related to modifier key event suppression due to difficulties in mocking CGEventSource.flagsState, with assurance that this behavior is covered through integration testing.

SHA256: 6015b5f8ab490e9cf833cfbf4e5c8705aa85e700da6dd661efe3fcb539b3c7c6