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

Key bindings arrays for and some visualisation viewer function #81

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bdamay
Copy link

@bdamay bdamay commented Dec 22, 2020

Hi guys,
First of all i would like to thank you for the amazing job you're making with this new bimsurfer.
I don't know if you're opened to pull requests, but you might though consider taking a look at this one.

Basically 2 proposals for viewer.js:
First, 1 array of actions that is passed to the canvas eventListener ans avoiding some if(e.key==='...' else if ...). Each action is taking a viewer method to trigger on given keypressed.
Second, i made some method for the viewer at the end of the file (like inverting visibillity, hiding unselected objects etc..)

Let me know if this kind of stuff may be of some interest to you or if not.
Happy Christmas

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.

1 participant