diff --git a/src/timeline/component/item/Item.js b/src/timeline/component/item/Item.js index 1acc0d8b..a4b10ac4 100644 --- a/src/timeline/component/item/Item.js +++ b/src/timeline/component/item/Item.js @@ -15,7 +15,9 @@ function Item (parent, data, options, defaultOptions) { this.defaultOptions = defaultOptions || {}; this.selected = false; - this.visible = false; + this.displayed = false; + this.dirty = true; + this.top = null; this.left = null; this.width = null; diff --git a/src/timeline/component/item/ItemBox.js b/src/timeline/component/item/ItemBox.js index 0a3ba3a0..c4ccca86 100644 --- a/src/timeline/component/item/ItemBox.js +++ b/src/timeline/component/item/ItemBox.js @@ -20,9 +20,6 @@ function ItemBox (parent, data, options, defaultOptions) { } }; - this.displayed = false; - this.dirty = true; - // validate data if (data.start == undefined) { throw new Error('Property "start" missing in item ' + data);