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

Made some changes to improve user experience. Read the comment for more. #10

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Commits on Jul 28, 2021

  1. Disabled right click context menu within board

    Previously, right click on the board would open up the context menu. This is unnecessary and so it is disabled.
    Nirmal-Palanichamy committed Jul 28, 2021
    Configuration menu
    Copy the full SHA
    e18b509 View commit details
    Browse the repository at this point in the history
  2. Separated left and right mouse button functionalities

     Previously, both left and right mouse buttons could add as well as delete walls. Now, left mouse button will only be able to add walls and right mouse button will only be able to delete walls.
    Nirmal-Palanichamy committed Jul 28, 2021
    Configuration menu
    Copy the full SHA
    3a076f4 View commit details
    Browse the repository at this point in the history
  3. Added mouseup and mousedown functions on body

    Previously, when creating walls, it seemed to be kind of buggy. Also, when the user drags out of the page, on bringing the cursor back, it would continue to create walls. Now, mouseup function has been added to body to reduce buggy feeling and also, mouseleave function has been added to stop creating walls after leaving the page and returning back. NOTE: This was only done for normal elements and NOT special elements.
    Nirmal-Palanichamy committed Jul 28, 2021
    Configuration menu
    Copy the full SHA
    f11aa41 View commit details
    Browse the repository at this point in the history