Skip to content

Commit

Permalink
Code review feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
etimberg committed Feb 21, 2022
1 parent dba8485 commit fac679b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/controllers/controller.line.js
Expand Up @@ -6,9 +6,9 @@ import {_lookupByKey} from '../helpers/helpers.collection';
export default class LineController extends DatasetController {

initialize() {
super.initialize();
this.enableOptionSharing = true;
this.supportsDecimation = true;
super.initialize();
}

update(mode) {
Expand Down
2 changes: 1 addition & 1 deletion src/core/core.datasetController.js
Expand Up @@ -237,6 +237,7 @@ export default class DatasetController {
this._drawStart = undefined;
this._drawCount = undefined;
this.enableOptionSharing = false;
this.supportsDecimation = false;
this.$context = undefined;
this._syncList = [];

Expand All @@ -249,7 +250,6 @@ export default class DatasetController {
this.linkScales();
meta._stacked = isStacked(meta.vScale, meta);
this.addElements();
this.supportsDecimation = false;
}

updateIndex(datasetIndex) {
Expand Down

0 comments on commit fac679b

Please sign in to comment.