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

Rename Pointer events (and others?) #794

Open
davesmith00000 opened this issue Nov 27, 2024 · 0 comments
Open

Rename Pointer events (and others?) #794

davesmith00000 opened this issue Nov 27, 2024 · 0 comments
Labels
good first issue Good for newcomers

Comments

@davesmith00000
Copy link
Member

Lots of good work has been done on input events recently, and in a small oversight, the naming convention has changed.

The work is to look for events like this:

sealed trait PointerEvent
object PointerEvent:
  final case class PointerClick(...) extends PointerEvent

...and rename it to:

sealed trait PointerEvent
object PointerEvent:
  final case class Click(...) extends PointerEvent

So that at the point of use, we go from:

case e: PointerEvent.PointerClick =>

...to:

case e: PointerEvent.Click =>
@davesmith00000 davesmith00000 added the good first issue Good for newcomers label Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant