diff --git a/src/dat/controllers/FunctionController.js b/src/dat/controllers/FunctionController.js index dd3c93d..e7748cc 100644 --- a/src/dat/controllers/FunctionController.js +++ b/src/dat/controllers/FunctionController.js @@ -60,10 +60,10 @@ define([ if (this.__onChange) { this.__onChange.call(this); } + this.getValue().call(this.object); if (this.__onFinishChange) { this.__onFinishChange.call(this, this.getValue()); } - this.getValue().call(this.object); } } @@ -71,4 +71,4 @@ define([ return FunctionController; -}); \ No newline at end of file +});