Tweak the Angular view array threshold to make it slightly slower but better for the UI thread
This commit is contained in:
parent
456834d535
commit
6517a4ed7f
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@ quayApp = angular.module('quay', quayDependencies, function($provide, cfpLoading
|
||||||
* pauses in the UI for ngRepeat's when the array is significant in size.
|
* pauses in the UI for ngRepeat's when the array is significant in size.
|
||||||
*/
|
*/
|
||||||
$provide.factory('AngularViewArray', ['$interval', function($interval) {
|
$provide.factory('AngularViewArray', ['$interval', function($interval) {
|
||||||
var ADDTIONAL_COUNT = 50;
|
var ADDTIONAL_COUNT = 20;
|
||||||
|
|
||||||
function _ViewArray() {
|
function _ViewArray() {
|
||||||
this.isVisible = false;
|
this.isVisible = false;
|
||||||
|
|
Reference in a new issue