Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: work on refactoring gesture code #6401

Merged
merged 5 commits into from
Sep 9, 2022

Conversation

BeksOmega
Copy link
Collaborator

The basics

  • I branched from develop
  • My pull request is against develop
  • My code follows the style guide
  • I ran npm run format and npm run lint

The details

Resolves

Work on #5857

Proposed Changes

Removes AnyDuringMigration from the gesture code (mostly, I left it in where I think type guards are the correct solution, or where it deals with touch/mouse events being derpy).

Removes the different booleans tracking if a dragger exists, and instead just checks if the dagger exists.

Behavior Before Change

Should be no change in behavior.

Behavior After Change

Should be no change in behavior.

Reason for Changes

Types === good?

Test Coverage

Tested dragging things around and clicking things etc. Gestures appear to work, but who really knows.

Documentation

N/A

Additional Information

N/A

@BeksOmega BeksOmega merged commit d754c6d into google:develop Sep 9, 2022
NeilFraser pushed a commit that referenced this pull request Sep 9, 2022
* chore: work on refactoring gesture code

* chore: reorganize throw order

* chore: format

* chore: PR comments

* chore: format
@BeksOmega BeksOmega deleted the fix/any-gesture branch October 4, 2022 18:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants