spread out search result update, 25ms per item, to avoid framedrop. bumps component so NPM INSTALL

This commit is contained in:
Kevin Ngo
2018-09-20 03:50:28 -07:00
parent bb927748b4
commit b52c833bf7
2 changed files with 2 additions and 2 deletions

View File

@@ -19,7 +19,7 @@
"aframe-particle-system-component": "^1.0.11",
"aframe-proxy-event-component": "^1.1.1",
"aframe-slice9-component": "^1.0.0",
"aframe-state-component": "^5.0.0-beta4",
"aframe-state-component": "^5.0.0-beta5",
"aframe-super-keyboard": "2.0.2",
"algoliasearch": "^3.29.0",
"ansi-html": "0.0.7",

View File

@@ -1,7 +1,7 @@
<!-- Macro is a templating function. It is rendered into the HTML below with searchResults(). -->
{% macro searchResults () %}
<a-entity id="searchResultList"
bind-for="for: item; in: searchResultsPage; key: id; template: #searchResultTemplate; updateInPlace: true; pool: 6"
bind-for="for: item; in: searchResultsPage; key: id; template: #searchResultTemplate; updateInPlace: true; pool: 6; delay: 25"
layout="type: box; columns: 1; marginRow: -0.2"
search-result-list
position="0 0.644 0"></a-entity>