diff --git a/src/dat/gui/GUI.js b/src/dat/gui/GUI.js index b0f61d3..d95e2ec 100644 --- a/src/dat/gui/GUI.js +++ b/src/dat/gui/GUI.js @@ -927,7 +927,7 @@ define([ var 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', 'name'], function(method) { var pc = controller[method]; var pb = box[method]; controller[method] = box[method] = function() {