Comments added for forceUpdateDisplay

This commit is contained in:
David Wakelin 2019-04-08 21:12:20 +01:00
parent fd9b5bc5fc
commit 2f67f28035
2 changed files with 2 additions and 1 deletions

View File

@ -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;

View File

@ -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) {