diff options
| author | Pliable Pixels <pliablepixels@gmail.com> | 2017-01-01 18:26:39 -0500 |
|---|---|---|
| committer | Pliable Pixels <pliablepixels@gmail.com> | 2017-01-01 18:26:39 -0500 |
| commit | 4d96b07f0d23f34676a359a345fc1b91be28e69f (patch) | |
| tree | 2f657f1701fcecd18cf185476df21f2f20d03c1d | |
| parent | 090afd0f8ab8a77ba6c239dbfc0298b3c529926d (diff) | |
add touch events back to svg #420
| -rw-r--r-- | www/templates/monitors-modal.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/www/templates/monitors-modal.html b/www/templates/monitors-modal.html index a51eba10..bf76e46a 100644 --- a/www/templates/monitors-modal.html +++ b/www/templates/monitors-modal.html @@ -14,7 +14,7 @@ <!-- zone overlays if enabled --> <div ng-show="showZones"> - <svg width="100vw" height="100vh" class="zonelayer" ng-attr-view_box="0 0 {{cw}} {{ch}}" ng-attr-preserve_aspect_ratio="{{aspectFit}}"> + <svg width="100vw" height="100vh" class="zonelayer" ng-attr-view_box="0 0 {{cw}} {{ch}}" ng-attr-preserve_aspect_ratio="{{aspectFit}}" on-swipe-left="onSwipe(monitorId,1)" on-swipe-right="onSwipe(monitorId,-1)" on-double-tap="closeModal();"> <polygon ng-repeat="item in zoneArray track by $index" ng-class="{'object-fit_cover {{item.type}}':imageFit==false, 'object-fit_contain {{item.type}}':imageFit==true}" ng-attr-points="{{item.coords}}" /> </polygon> |
