src/widgets/Segments.js
branchnew-model
changeset 916 ec6849bbbdcc
parent 906 4b6e154ae8de
child 924 64c2eaafe5e2
equal deleted inserted replaced
915:ba7aab923d08 916:ec6849bbbdcc
    49                 color : ( typeof _annotation.color !== "undefined" && _annotation.color ? _annotation.color : _this.colors[_k % _this.colors.length] ),
    49                 color : ( typeof _annotation.color !== "undefined" && _annotation.color ? _annotation.color : _this.colors[_k % _this.colors.length] ),
    50                 beginseconds : _annotation.begin.getSeconds() ,
    50                 beginseconds : _annotation.begin.getSeconds() ,
    51                 left : Math.floor( _left ),
    51                 left : Math.floor( _left ),
    52                 width : Math.floor( _width ),
    52                 width : Math.floor( _width ),
    53                 center : Math.floor( _center ),
    53                 center : Math.floor( _center ),
    54                 id : _annotation.namespacedId.name
    54                 id : _annotation.id
    55             }
    55             }
    56         })
    56         })
    57     }));
    57     }));
    58     this.$segments = this.$.find('.Ldt-Segments-Segment');
    58     this.$segments = this.$.find('.Ldt-Segments-Segment');
    59     
    59