Use correct index when resolving bubble options (#7375)

This commit is contained in:
Ben McCann 2020-05-19 07:28:16 -07:00 committed by GitHub
parent 925b23da86
commit 53f5038252
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -110,7 +110,7 @@ export default class BubbleController extends DatasetController {
};
if (includeOptions) {
properties.options = me.resolveDataElementOptions(i, mode);
properties.options = me.resolveDataElementOptions(index, mode);
if (reset) {
properties.options.radius = 0;