From 922de644599ad63149bd9b686a252e5e6164d83a Mon Sep 17 00:00:00 2001 From: Jeff Nusz Date: Wed, 17 Aug 2016 16:28:11 -0700 Subject: [PATCH] fix NumberBox not showing step() changes to slider --- src/dat/gui/GUI.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dat/gui/GUI.js b/src/dat/gui/GUI.js index d127e6e..70cd01d 100644 --- a/src/dat/gui/GUI.js +++ b/src/dat/gui/GUI.js @@ -819,7 +819,7 @@ function augmentController(gui, li, controller) { const box = new NumberControllerBox(controller.object, controller.property, {min: controller.__min, max: controller.__max, step: controller.__step}); - common.each(['updateDisplay', 'onChange', 'onFinishChange'], function(method) { + common.each(['updateDisplay', 'onChange', 'onFinishChange', 'step'], function(method) { const pc = controller[method]; const pb = box[method]; controller[method] = box[method] = function() {