Skip to content

Commit

Permalink
root.state bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
neuronetio committed May 11, 2019
1 parent e83bf75 commit cfc1f36
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion dist/Header.common.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/Header.umd.js

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions src/Header.vue
Original file line number Diff line number Diff line change
Expand Up @@ -244,11 +244,11 @@ export default {
};
},
created() {
this.localScale = this.root.options.times.timeZoom;
this.localHeight = this.root.options.row.height;
this.localBefore = this.root.options.scope.before;
this.localPercent = this.root.options.taskList.percent;
this.sliderOptions.xScale.value = this.root.options.times.timeZoom;
this.localScale = this.root.state.options.times.timeZoom;
this.localHeight = this.root.state.options.row.height;
this.localBefore = this.root.state.options.scope.before;
this.localPercent = this.root.state.options.taskList.percent;
this.sliderOptions.xScale.value = this.root.state.options.times.timeZoom;
this.style = this.root.mergeDeep({}, defaultStyle, this.dynamicStyle);
this.opts = this.root.mergeDeep({}, defaultOptions, this.options);
},
Expand Down

0 comments on commit cfc1f36

Please sign in to comment.