-
Notifications
You must be signed in to change notification settings - Fork 47
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: Prevent pending drawings from disappearing #333
Conversation
Verified that @jeremypress has signed the CLA. Thanks for the pull request! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unit test?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add a test for this?
6f0912f
@@ -287,6 +287,8 @@ class DrawingModeController extends AnnotationModeController { | |||
if (eventData && eventData.location) { | |||
// $FlowFixMe | |||
this.currentThread.handleStart(eventData.location); | |||
} else { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will only set currentThread to undefined if the drawing wasn't saved as a part of a page change
No description provided.