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

fix(drawing): hide drawing toolbar when user starts drawing #655

Merged
merged 1 commit into from
Dec 16, 2020

Conversation

ChenCodes
Copy link
Contributor

@ChenCodes ChenCodes commented Dec 15, 2020

Changes in this PR:

  • set opacity to be 0 when the user is actively drawing on the preview content
  • cross browser testing

Demo:
ezgif com-gif-maker (3)

@ChenCodes ChenCodes requested a review from a team as a code owner December 15, 2020 23:58
Copy link
Collaborator

@jstoffan jstoffan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not directly related to this change, but should the popup reposition itself if the drawing exceeds its former bounds? That is, if the user draws up and to the right, as in the example gif, should the toolbar also move up and to the right after the new path is added?

@ChenCodes
Copy link
Contributor Author

I will check in with design on that question.

@ChenCodes ChenCodes merged commit 0ece398 into box:master Dec 16, 2020
@ChenCodes ChenCodes deleted the hide-drawing-toolbar-on-draw-event branch December 16, 2020 01:14
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.

2 participants