From 2f67f28035a68df53ce1d90c142bc08ce7d586c5 Mon Sep 17 00:00:00 2001 From: David Wakelin Date: Mon, 8 Apr 2019 21:12:20 +0100 Subject: [PATCH] Comments added for forceUpdateDisplay --- src/dat/controllers/Controller.js | 2 +- src/dat/gui/GUI.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/dat/controllers/Controller.js b/src/dat/controllers/Controller.js index 7c39f61..6f555d3 100644 --- a/src/dat/controllers/Controller.js +++ b/src/dat/controllers/Controller.js @@ -54,7 +54,7 @@ class Controller { this.__onFinishChange = undefined; /** - * Wether to force update a display, even when active. + * Whether to force update a display, even when input is active. * @type boolean */ this.forceUpdateDisplay = false; diff --git a/src/dat/gui/GUI.js b/src/dat/gui/GUI.js index 0d9059c..b8d1571 100644 --- a/src/dat/gui/GUI.js +++ b/src/dat/gui/GUI.js @@ -972,6 +972,7 @@ function augmentController(gui, li, controller) { /** * Sets controller to listen for changes on its underlying object. + * @param {boolean} forceUpdateDisplay Whether to force update a display, even when input is active. * @return {Controller} */ listen: function(forceUpdateDisplay) {