summaryrefslogtreecommitdiff
path: root/www/js
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@gmail.com>2019-06-17 13:17:18 -0400
committerPliable Pixels <pliablepixels@gmail.com>2019-06-17 13:17:18 -0400
commitf7a0ac135408bf4da725d519bb4d32731c94e65f (patch)
treec25d98aff235c1d46ef8e26ac740afa1037c787f /www/js
parent129d6c3eaeab66f9813fc637728cde1dd08bcff9 (diff)
undo squeeze, just don't call it in layout
Diffstat (limited to 'www/js')
-rw-r--r--www/js/MontageCtrl.js10
1 files changed, 6 insertions, 4 deletions
diff --git a/www/js/MontageCtrl.js b/www/js/MontageCtrl.js
index 2ce7c217..d9b1a807 100644
--- a/www/js/MontageCtrl.js
+++ b/www/js/MontageCtrl.js
@@ -442,7 +442,8 @@ angular.module('zmApp.controllers')
$timeout(function () {
NVR.debug("doing the jiggle and dance...");
pckry.resize(true);
- $scope.squeezeMonitors();
+ pckry.shiftLayout();
+ //$scope.squeezeMonitors();
}, 500);
}, 100);
@@ -2106,7 +2107,8 @@ angular.module('zmApp.controllers')
monitor.Monitor.showSidebar = !monitor.Monitor.showSidebar;
$timeout (function() {
- $scope.squeezeMonitors();
+ pckry.shiftLayout();
+ // $scope.squeezeMonitors();
}, 300);
};
@@ -2415,7 +2417,7 @@ angular.module('zmApp.controllers')
NVR.debug("doing the jiggle and dance...");
pckry.resize(true);
pckry.shiftLayout();
- $scope.squeezeMonitors();
+ //$scope.squeezeMonitors();
}, 600);
@@ -2455,7 +2457,7 @@ angular.module('zmApp.controllers')
NVR.debug ("squeezing");
pckry.once('layoutComplete', resizeComplete);
$timeout(function () {
- pckry.shiftLayout();
+ pckry.layout();
});
function resizeComplete() {