summaryrefslogtreecommitdiff
path: root/www/js/MontageCtrl.js
diff options
context:
space:
mode:
authorpliablepixels <pliablepixels@gmail.com>2016-03-10 21:31:03 -0500
committerpliablepixels <pliablepixels@gmail.com>2016-03-10 21:31:03 -0500
commit3e902602c18b8f5b3032e4435a31d569c5ff6696 (patch)
tree21140a7abc5baee9ef623649ee5038f7f7e3095e /www/js/MontageCtrl.js
parent69cafd1d7de79f9357fa7ef1b8241e549c0737ef (diff)
allowed for scrolling when montage icons fill screen
Former-commit-id: 7fe60d9a945072899c921cd463f57270e9dafd58
Diffstat (limited to 'www/js/MontageCtrl.js')
-rw-r--r--www/js/MontageCtrl.js14
1 files changed, 14 insertions, 0 deletions
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 () {