From 1d17cb0497e78bc0b3ecf8b47283380811b8cad6 Mon Sep 17 00:00:00 2001 From: Jeff Nusz Date: Mon, 14 Nov 2016 09:13:18 -0800 Subject: [PATCH] onFinish color returns correct format: fixes #117 --- src/dat/controllers/ColorController.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dat/controllers/ColorController.js b/src/dat/controllers/ColorController.js index 870c34f..0f53f7f 100644 --- a/src/dat/controllers/ColorController.js +++ b/src/dat/controllers/ColorController.js @@ -176,7 +176,7 @@ class ColorController extends Controller { function onFinish() { if (_this.__onFinishChange) { - _this.__onFinishChange.call(_this, _this.__color.toString()); + _this.__onFinishChange.call(_this, _this.__color.toOriginal()); } }