From d3121a667681ade08f099743a790b9a0d4787618 Mon Sep 17 00:00:00 2001 From: Hayko Koryun Date: Tue, 24 Mar 2015 15:06:26 +0400 Subject: [PATCH] added name function mapping for NumberControllerBox --- 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 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() {