view src/app/waveform/waveform.component.html @ 205:b638c714bd1d

Implement pinch-zoom manually using touchevents, as HammerJS was preventing scrolling the page. This should also allow for smoother transitioning between gestures - needs testing on a device.
author Lucas Thompson <dev@lucas.im>
date Fri, 24 Mar 2017 15:27:07 +0000
parents 733bcba71003
children 0833ddde6a83
line wrap: on
line source
<div
  #track class="track"
  (mousedown)="seekStart()"
  (mouseup)="seekEnd($event.clientX)"></div>
<template [ngIf]="isLoading">
  <ugly-progress-spinner [isVisible]="true"></ugly-progress-spinner>
</template>