Skip to content

Commit

Permalink
fixed montage problem in native chrome - duplicate data
Browse files Browse the repository at this point in the history
  • Loading branch information
arjunroychowdhury committed Jan 22, 2016
1 parent 59f9056 commit 84de30a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions www/js/MontageCtrl.js
Original file line number Diff line number Diff line change
Expand Up @@ -709,6 +709,7 @@ angular.module('zmApp.controllers').controller('zmApp.MontageCtrl', ['$scope', '
$scope.packMontage = !$scope.packMontage;
loginData.packMontage = $scope.packMontage;
ZMDataModel.setLogin(loginData);
console.log ("Switching orientation");
};

//---------------------------------------------------------------------
Expand Down
4 changes: 3 additions & 1 deletion www/templates/montage.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@
</div>
</span>

<div ng-style="packMontage ? {'-webkit-column-count':slider.monsize,'-webkit-column-gap':'0px','line-height':'0px'}:{'-webkit-column-count':slider.monsize,'-webkit-column-gap':'0px','line-height':'0px','display':'flex','display':'-webkit-flex','-webkit-flex-direction':'row','flex-direction':'row', 'flex-wrap':'wrap'}">
<div ng-style="packMontage ? { '-webkit-column-count':slider.monsize,'-webkit-column-gap':'0px','line-height':'0px' } : {'-webkit-column-count':slider.monsize,'-webkit-column-gap':'0px','line-height':'0px','display':'-webkit-flex','-webkit-flex-direction':'row','flex-direction':'row', 'flex-wrap':'wrap' }">

<!--<div ng-style="packMontage ? { '-webkit-column-count':slider.monsize, '-webkit-column-gap':'0px','line-height':'0px' } : { 'flex':'display', '-webkit-column-count':slider.monsize }">-->


<span ng-repeat="monitor in MontageMonitors|limitTo: monLimit"
Expand Down

1 comment on commit 84de30a

@pliablepixels
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixes #146

Please sign in to comment.