Skip to content

Commit

Permalink
fix slider-interaction bug: selected centroid was not being cleared
Browse files Browse the repository at this point in the history
  • Loading branch information
billyc committed Mar 29, 2022
1 parent abb760e commit 2df34a6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/plugins/aggregate-od/AggregateOd.vue
Original file line number Diff line number Diff line change
Expand Up @@ -474,6 +474,8 @@ class MyComponent extends Vue {
private handleEmptyClick(e: mapboxgl.MapMouseEvent) {
this.fadeUnselectedLinks(-1)
this.selectedCentroid = 0
if (this.isMobile()) {
// do something
}
Expand Down
1 change: 0 additions & 1 deletion src/plugins/aggregate-od/LineFilterSlider.vue
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ export default class ScaleSlider extends Vue {
@Watch('sliderValue')
private sliderChangedEvent(result: any) {
console.log(result)
this.$emit('change', result)
}
Expand Down

0 comments on commit 2df34a6

Please sign in to comment.