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: Prevent pending drawings from disappearing #333

Merged
merged 9 commits into from
Jan 31, 2019
Merged

Fix: Prevent pending drawings from disappearing #333

merged 9 commits into from
Jan 31, 2019

Conversation

jeremypress
Copy link
Contributor

No description provided.

@boxcla
Copy link

boxcla commented Jan 31, 2019

Verified that @jeremypress has signed the CLA. Thanks for the pull request!

@jeremypress jeremypress requested a review from pramodsum January 31, 2019 00:47
DanDeMicco
DanDeMicco previously approved these changes Jan 31, 2019
ConradJChan
ConradJChan previously approved these changes Jan 31, 2019
Copy link
Contributor

@ConradJChan ConradJChan left a comment

Choose a reason for hiding this comment

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

unit test?

Copy link
Contributor

@pramodsum pramodsum left a 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?

@pramodsum pramodsum dismissed stale reviews from ConradJChan and DanDeMicco via 6f0912f January 31, 2019 21:00
@pramodsum pramodsum reopened this Jan 31, 2019
@@ -287,6 +287,8 @@ class DrawingModeController extends AnnotationModeController {
if (eventData && eventData.location) {
// $FlowFixMe
this.currentThread.handleStart(eventData.location);
} else {
Copy link
Contributor

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

@pramodsum pramodsum merged commit 1415c23 into box:master Jan 31, 2019
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.

7 participants