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 option update #611

Merged
merged 4 commits into from
Jun 18, 2020
Merged

Conversation

davidbrochart
Copy link
Member

Fixes #610

@martinRenou
Copy link
Member

Does it work correctly?

There is now some code duplication, layers/Velocity.js, layers/Heatmap.js and layers/Path.js seem to implement it already so we might want to remove it there.

@davidbrochart
Copy link
Member Author

Does it work correctly?

Yes I checked on the Map and some layers and it seems to work fine.

There is now some code duplication, layers/Velocity.js, layers/Heatmap.js and layers/Path.js seem to implement it already so we might want to remove it there.

Good point.

js/src/layers/Path.js Outdated Show resolved Hide resolved
},
this
);
}
this.obj.setStyle(this.get_options());
Copy link
Member

Choose a reason for hiding this comment

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

This line is unexpected 😮 It should not be needed

Copy link
Member

Choose a reason for hiding this comment

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

Let's remove it later

Copy link
Member Author

Choose a reason for hiding this comment

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

👍

@martinRenou martinRenou merged commit 127723b into jupyter-widgets:master Jun 18, 2020
@davidbrochart davidbrochart deleted the fix_options branch June 18, 2020 14:09
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.

Handle options changes
2 participants