mirror of
https://github.com/pebble-dev/clay.git
synced 2026-09-01 06:46:49 -04:00
Allow floats in the slider component and update docs
This commit is contained in:
@@ -158,7 +158,13 @@ function ClayConfig(settings, config, $rootContainer, meta) {
|
||||
self.serialize = function() {
|
||||
_checkBuilt('serialize');
|
||||
_.eachObj(_itemsByAppKey, function(appKey, item) {
|
||||
_settings[appKey] = item.get();
|
||||
_settings[appKey] = {
|
||||
value: item.get()
|
||||
};
|
||||
|
||||
if (item.precision) {
|
||||
_settings[appKey].precision = item.precision;
|
||||
}
|
||||
});
|
||||
return _settings;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user