-
Notifications
You must be signed in to change notification settings - Fork 178
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
Implement the experimental pointer lock API #247
Conversation
src/webapi/events/pointer.rs
Outdated
impl IEvent for PointerLockChangeEvent {} | ||
impl IUiEvent for PointerLockChangeEvent {} | ||
impl IMouseEvent for PointerLockChangeEvent {} | ||
impl IPointerEvent for PointerLockChangeEvent {} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm... I don't think these events are supposed to derive from these? (The specs are somewhat unclear regarding that.)
Taking a peek a Firefox sources it looks like it should just be an Event
? Can you double check?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
...Huh. That's what I get for not checking my assumptions about web api's I guess. Yeah those derivations shouldn't be there.
Also it'd be nice if you could add a few really basic tests just as we have for other events. (: |
Sure, no problem. |
You also should export those events in |
Whoops! My bad. |
LGTM; thanks! |
No description provided.