Skip to content

Commit 8dfb0c1

Browse files
committed
rename mapbox traces' style method -> styleOnSelect
- as they're only meant to be used on select!
1 parent 1f59d53 commit 8dfb0c1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/traces/choroplethmapbox/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ module.exports = {
1818
eventData: require('../choropleth/event_data'),
1919
selectPoints: require('../choropleth/select'),
2020

21-
style: function(_, cd) {
21+
styleOnSelect: function(_, cd) {
2222
if(cd) {
2323
var trace = cd[0].trace;
2424
trace._glTrace.updateOnSelect(cd);

src/traces/scattermapbox/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ module.exports = {
1818
eventData: require('./event_data'),
1919
selectPoints: require('./select'),
2020

21-
style: function(_, cd) {
21+
styleOnSelect: function(_, cd) {
2222
if(cd) {
2323
var trace = cd[0].trace;
2424
trace._glTrace.update(cd);

0 commit comments

Comments
 (0)