* Adds 3 additional keys/properties to hifi-entity-ui's specification support for
color pickers.
* layoutType: This correlates to colpick's layout property. This is expected
to be a string. Valid values are those supported by colpick, see colpick.js for
additional details.
* Within hifi-entity-ui, if this value isn't specified the default is
"hex" as was previously hard coded.
* layoutColorScheme: This correlates to colpicks's colorScheme property. This is
expected to be a string. Valid values are those supported by colpick, see colpick.js
for additional details.
* Within hifi-entity-ui, if this value isn't specified the default is
"dark" as was previously hard coded.
* useSubmitButton: This correlates to colpick's submit property. This is expected
to be a boolean. See colpick.js for additional details.
* Within hifi-entity-ui, if this value isn't specified the default is
true as was previously hard coded.
* Amends particleExplorer.js color picker descriptors to make use of the new
keys to bring the color pickers within the Particle Tab inline with the appearance
of the Properties Tab color pickers submitted within PR #12241 which don't utilize
the OK button.
Changes Committed:
modified: scripts/system/particle_explorer/hifi-entity-ui.js
modified: scripts/system/particle_explorer/particleExplorer.js
- If properties are expanded, the animation wrapper should now use the
values
- Decimal Values from filled in data now automatically get reduced the
1000th. The fields however will allow one to set smaller values and show
it, until the entity is selected again
- If particle is locked, keep fields locked.
- Changed underscore to lodash for smaller file size / faster loading
- Removed dat.gui dependency, as we now have a completely custom
solution
- Started to use some more modern convensions which Qt Supports