perfect-gui 3.0.1 → 3.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/index.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "perfect-gui",
3
- "version": "3.0.1",
3
+ "version": "3.0.2",
4
4
  "description": "Nice and simple GUI for JavaScript.",
5
5
  "main": "src/index.js",
6
6
  "directories": {
package/src/index.js CHANGED
@@ -264,7 +264,7 @@ export default class GUI {
264
264
  min: sliderParams.min,
265
265
  max: sliderParams.max,
266
266
  step: sliderParams.step,
267
- value: sliderParams.value
267
+ value: isObject ? object[prop] : sliderParams.value
268
268
  }
269
269
  });
270
270