From 89366c5e2de9aa76055106b8883894d779fddf9b Mon Sep 17 00:00:00 2001 From: Pliable Pixels Date: Mon, 26 Sep 2016 14:47:08 -0400 Subject: #339 - comments Former-commit-id: a9981613f520ece9865290a1f16651bc3603e94a --- www/js/EventCtrl.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'www/js') diff --git a/www/js/EventCtrl.js b/www/js/EventCtrl.js index 26cfae91..53511651 100644 --- a/www/js/EventCtrl.js +++ b/www/js/EventCtrl.js @@ -84,7 +84,10 @@ angular.module('zmApp.controllers') document.addEventListener("pause", onPause, false); //console.log("I got STATE PARAM " + $stateParams.id); $scope.id = parseInt($stateParams.id, 10); - + // This is the only view that hardcodes row size due to + // collection repeat, so lets re-get the text size if it has changed + // note that there may be a delay as its a callback - so might involve + // a UI jiggle MobileAccessibility.getTextZoom(getTextZoomCallback); eventsListDetailsHeight = parseInt(zm.eventsListDetailsHeight * $rootScope.textScaleFactor); -- cgit v1.2.3