Reduce initial visible creators to 5-7 (from 10-15)

This commit is contained in:
Dan Stillman 2016-12-29 03:57:50 -05:00
parent 9ffab20a09
commit 8a9986da47

View file

@ -53,7 +53,7 @@
<field name="blurHandler"/> <field name="blurHandler"/>
<field name="eventHandlers">[]</field> <field name="eventHandlers">[]</field>
<field name="_initialVisibleCreators">10</field> <field name="_initialVisibleCreators">5</field>
<field name="_displayAllCreators"/> <field name="_displayAllCreators"/>
<!-- Modes are predefined settings groups for particular tasks --> <!-- Modes are predefined settings groups for particular tasks -->
@ -561,8 +561,8 @@
if (num > 0) { if (num > 0) {
// Limit number of creators display // Limit number of creators display
var max = Math.min(num, this._initialVisibleCreators); var max = Math.min(num, this._initialVisibleCreators);
// If fewer than five more, just display // If only 1 or 2 more, just display
if (num < max + 5 || this._displayAllCreators) { if (num < max + 3 || this._displayAllCreators) {
max = num; max = num;
} }
for (var i = 0; i < max; i++) { for (var i = 0; i < max; i++) {