mirror of
https://github.com/dataarts/dat.gui.git
synced 2024-12-12 04:08:27 +00:00
0.7.4
This commit is contained in:
parent
0027fd73e0
commit
a3085880ce
@ -2203,7 +2203,7 @@ function augmentController(gui, li, controller) {
|
|||||||
});
|
});
|
||||||
if (controller instanceof NumberControllerSlider) {
|
if (controller instanceof NumberControllerSlider) {
|
||||||
var box = new NumberControllerBox(controller.object, controller.property, { min: controller.__min, max: controller.__max, step: controller.__step });
|
var box = new NumberControllerBox(controller.object, controller.property, { min: controller.__min, max: controller.__max, step: controller.__step });
|
||||||
Common.each(['updateDisplay', 'onChange', 'onFinishChange', 'step'], function (method) {
|
Common.each(['updateDisplay', 'onChange', 'onFinishChange', 'step', 'min', 'max'], function (method) {
|
||||||
var pc = controller[method];
|
var pc = controller[method];
|
||||||
var pb = box[method];
|
var pb = box[method];
|
||||||
controller[method] = box[method] = function () {
|
controller[method] = box[method] = function () {
|
||||||
|
File diff suppressed because one or more lines are too long
2
build/dat.gui.min.js
vendored
2
build/dat.gui.min.js
vendored
File diff suppressed because one or more lines are too long
@ -2197,7 +2197,7 @@ function augmentController(gui, li, controller) {
|
|||||||
});
|
});
|
||||||
if (controller instanceof NumberControllerSlider) {
|
if (controller instanceof NumberControllerSlider) {
|
||||||
var box = new NumberControllerBox(controller.object, controller.property, { min: controller.__min, max: controller.__max, step: controller.__step });
|
var box = new NumberControllerBox(controller.object, controller.property, { min: controller.__min, max: controller.__max, step: controller.__step });
|
||||||
Common.each(['updateDisplay', 'onChange', 'onFinishChange', 'step'], function (method) {
|
Common.each(['updateDisplay', 'onChange', 'onFinishChange', 'step', 'min', 'max'], function (method) {
|
||||||
var pc = controller[method];
|
var pc = controller[method];
|
||||||
var pb = box[method];
|
var pb = box[method];
|
||||||
controller[method] = box[method] = function () {
|
controller[method] = box[method] = function () {
|
||||||
|
File diff suppressed because one or more lines are too long
2
package-lock.json
generated
2
package-lock.json
generated
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "dat.gui",
|
"name": "dat.gui",
|
||||||
"version": "0.7.3",
|
"version": "0.7.4",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "dat.gui",
|
"name": "dat.gui",
|
||||||
"version": "0.7.3",
|
"version": "0.7.4",
|
||||||
"description": "A lightweight graphical user interface for changing variables in JavaScript.",
|
"description": "A lightweight graphical user interface for changing variables in JavaScript.",
|
||||||
"main": "build/dat.gui.js",
|
"main": "build/dat.gui.js",
|
||||||
"module": "build/dat.gui.module.js",
|
"module": "build/dat.gui.module.js",
|
||||||
|
Loading…
Reference in New Issue
Block a user