Skip to content
This repository has been archived by the owner on Jul 15, 2024. It is now read-only.

Rename MouseButton/PointerButton variants. #126

Merged

Conversation

waywardmonkeys
Copy link
Contributor

As described in issue #88, the web specifications that we are tracking refer to the mouse buttons as primary/secondary/auxillary rather than left/right/middle.

Fixes #88.

@waywardmonkeys
Copy link
Contributor Author

This is a straight set of textual substitutions and as long as everything builds, it should be okay.

I've done some quick testing that things appear to work on Windows.

@waywardmonkeys waywardmonkeys mentioned this pull request Jul 31, 2023
src/backend/mac/window.rs Outdated Show resolved Hide resolved
As described in issue linebender#88, the web specifications that we are
tracking refer to the mouse buttons as primary/secondary/auxiliary
rather than left/right/middle.

Fixes linebender#88.
@waywardmonkeys waywardmonkeys added this pull request to the merge queue Jul 31, 2023
Merged via the queue into linebender:main with commit 618382a Jul 31, 2023
10 checks passed
@waywardmonkeys waywardmonkeys deleted the rename-button-variants branch July 31, 2023 14:34
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

MouseButton variants should be named Primary/Secondary instead of Left/Right/Middle
2 participants