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

Input events still firing when sim.active=false #414

Closed
samreid opened this issue Mar 27, 2015 · 3 comments
Closed

Input events still firing when sim.active=false #414

samreid opened this issue Mar 27, 2015 · 3 comments
Assignees

Comments

@samreid
Copy link
Member

samreid commented Mar 27, 2015

I put sim.active=false and that prevents the clock from running, but scenery is still processing input events (I can click on things and they respond).

It looks like Input.js is still processing events directly when triggerImmediate is true.

@samreid
Copy link
Member Author

samreid commented Mar 30, 2015

@jonathanolson recommended using a semitransparent overlay div that will intercept input events.

@jonathanolson
Copy link
Contributor

Scenery side should be accomplished with display.interactive.

@samreid
Copy link
Member Author

samreid commented Mar 31, 2015

I'm using display.interactive above and it is working nicely, thanks @jonathanolson! Closing.

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

No branches or pull requests

2 participants