From 3e902602c18b8f5b3032e4435a31d569c5ff6696 Mon Sep 17 00:00:00 2001 From: pliablepixels Date: Thu, 10 Mar 2016 21:31:03 -0500 Subject: allowed for scrolling when montage icons fill screen Former-commit-id: 7fe60d9a945072899c921cd463f57270e9dafd58 --- www/js/MontageCtrl.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'www/js') diff --git a/www/js/MontageCtrl.js b/www/js/MontageCtrl.js index ca9d3dd6..9d0fe352 100644 --- a/www/js/MontageCtrl.js +++ b/www/js/MontageCtrl.js @@ -311,6 +311,20 @@ function initPackery() } + $scope.swipeUp = function() + { + console.log ("SWIPE UP"); + $ionicScrollDelegate.$getByHandle("montage-delegate").scrollBy(0, $rootScope.devHeight/2, true); + }; + + $scope.swipeDown = function() + { + console.log ("SWIPE DOWN"); + $ionicScrollDelegate.$getByHandle("montage-delegate").scrollBy(0, -($rootScope.devHeight/2), true); + }; + + + $scope.closeReorderModal = function () { -- cgit v1.2.3