hash-define-organization / Hash-Whiteboard

Whiteboard Built with ReactJS and Material UI 🚀❤️
https://hashdefine-whiteboard.netlify.app/
MIT License
23 stars 39 forks source link

Implement Key-Binding with Multiple Keys #56

Closed Shubham29012001 closed 2 years ago

Shubham29012001 commented 2 years ago

Fix #50

Hey @vedant-jain03, I have implemented the multiple keybindings using CTRL + ALT + Mention Key Code. Following are the keycode that results in the corresponding actions:

  1. CTRL + ALT + u = Undo
  2. CTRL + ALT + r = Redo
  3. CTRL + ALT + s = Make Live
  4. CTRL + ALT + o = Make Offline
  5. CTRL + ALT + t = Toggle
  6. CTRL + ALT + p = Color Picker
  7. CTRL + ALT + c = Clear Board
  8. CTRL + ALT + q = Zoomin
  9. CTRL + ALT + w = Zoomout

Have a look at it and if possible assign the labels on PR as well.

netlify[bot] commented 2 years ago

Deploy request for hashdefine-whiteboard pending review.

Visit the deploys page to approve it

Name Link
Latest commit 1c1ce312bfa68a7390a4f8f209398f067732dd40
Shubham29012001 commented 2 years ago

Hey @vedant-jain03, can you please checkout the code and tell me if there needs to be any improvements. The GSSoC will end soon.

vedant-jain03 commented 2 years ago

Hey @vedant-jain03, can you please checkout the code and tell me if there needs to be any improvements. The GSSoC will end soon.

Hey @Shubham29012001 sorry for the late reply, LGTM!