src/widgets/MultiSegments.js
changeset 988 eefd336335f9
parent 982 cfcbac34d020
child 1013 392ddcd212d7
equal deleted inserted replaced
987:7b65bf78873a 988:eefd336335f9
    77                 
    77                 
    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                 }).extend(segmentsopts)
    84                 }).extend(segmentsopts)
    84             );
    85             );
    85             
    86             
    86             _this.insertSubwidget(
    87             _this.insertSubwidget(
    87                 line.annotationWidget,
    88                 line.annotationWidget,
    88                 IriSP._({
    89                 IriSP._({
    89                     type: "Annotation",
    90                     type: "Annotation",
    90                     annotation_type: _anntype
    91                     annotation_type: _anntype,
       
    92                     width: _this.width
    91                 }).extend(annotationopts)
    93                 }).extend(annotationopts)
    92             );
    94             );
    93             
    95             
    94             lines.push(line);
    96             lines.push(line);
    95         }
    97         }