view src/app/notebook-feed/notebook-feed.component.html @ 394:f45a916eb5b1

Use the cross hair layer for notes, tracks and curve. This involved bodging in unit to ShapedFeatureData, which isn't particularly easy to do because this isn't an encapsulated type. Need to come back to improving this, as I am monkey-patching a unit property onto Arrays etc.
author Lucas Thompson <dev@lucas.im>
date Thu, 01 Jun 2017 18:55:55 +0100
parents 524f5cd75737
children 7bb0bac6f8dc
line wrap: on
line source
<div class="feed">
  <ng-template ngFor let-item [ngForOf]="analyses">
    <div [class.break]="isAudioItem(item)">
      <ugly-analysis-item
        [timeline]="getOrCreateTimeline(item)"
        [isActive]="isActiveItem(item)"
        [item]="item"
        [contentWidth]="width"
        [onSeek]="getOnSeekForItem(item)"
      ></ugly-analysis-item>
    </div>
  </ng-template>
</div>