From e3dc85379b51e3e6c9bd359531f1231241906cdd Mon Sep 17 00:00:00 2001 From: Arjun Roychowdhury Date: Sun, 27 Sep 2015 19:26:26 -0400 Subject: timeline joystick controller fix --- www/js/TimelineCtrl.js | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'www/js') diff --git a/www/js/TimelineCtrl.js b/www/js/TimelineCtrl.js index d30118c0..1fdb03a9 100644 --- a/www/js/TimelineCtrl.js +++ b/www/js/TimelineCtrl.js @@ -430,8 +430,8 @@ angular.module('zmApp.controllers').controller('zmApp.TimelineCtrl', ['$ionicPla } else { - element.removeClass("animated bounceInRight"); - element.addClass("animated bounceOutLeft"); + element.removeClass("animated bounceInRight"); + element.addClass("animated bounceOutLeft"); } }; @@ -677,15 +677,15 @@ angular.module('zmApp.controllers').controller('zmApp.TimelineCtrl', ['$ionicPla $scope.radialMenuOptions = { content: '', - size:"small", + size:'small', background: '#982112', - isOpen: true, + isOpen: false, toggleOnClick: false, button: { - cssClass: "fa fa-compress fa-2x", - size:"small", - onclick: function() { timeline.fit();} + cssClass: 'fa fa-compress fa-2x', + size:'small', + onclick: function() { console.log ("fitting");timeline.fit();} }, items: [ { @@ -791,7 +791,8 @@ angular.module('zmApp.controllers').controller('zmApp.TimelineCtrl', ['$ionicPla } }, ]}; - + + -- cgit v1.2.3