src/widgets/MultiSegments.js
changeset 1068 7623f9af9272
parent 1033 c20df1c080e6
child 1069 2409cb4cebaf
equal deleted inserted replaced
1067:539c9bee5372 1068:7623f9af9272
    78             _this.insertSubwidget(
    78             _this.insertSubwidget(
    79                 line.segmentWidget,
    79                 line.segmentWidget,
    80                 IriSP._({
    80                 IriSP._({
    81                     type: "Segments",
    81                     type: "Segments",
    82                     annotation_type: _anntype,
    82                     annotation_type: _anntype,
    83                     width: _this.width
    83                     width: '100%'
    84                 }).extend(segmentsopts)
    84                 }).extend(segmentsopts)
    85             );
    85             );
    86             
    86             
    87             _this.insertSubwidget(
    87             _this.insertSubwidget(
    88                 line.annotationWidget,
    88                 line.annotationWidget,
    89                 IriSP._({
    89                 IriSP._({
    90                     type: "Annotation",
    90                     type: "Annotation",
    91                     annotation_type: _anntype,
    91                     annotation_type: _anntype,
    92                     width: _this.width
    92                     width: '100%'
    93                 }).extend(annotationopts)
    93                 }).extend(annotationopts)
    94             );
    94             );
    95             
    95             
    96             lines.push(line);
    96             lines.push(line);
    97         }
    97         }