Skip to content

Commit

Permalink
fix: align onspecific boxItem (#205)
Browse files Browse the repository at this point in the history
  • Loading branch information
yotamberk authored Nov 23, 2019
1 parent 589e489 commit 7a91ac7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/timeline/component/item/BoxItem.js
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ class BoxItem extends Item {
*/
repositionX() {
const start = this.conversion.toScreen(this.data.start);
const align = this.options.align;
const align = this.data.align === undefined ? this.options.align : this.data.align
const lineWidth = this.props.line.width;
const dotWidth = this.props.dot.width;

Expand Down

0 comments on commit 7a91ac7

Please sign in to comment.