From 01c936e1b9421bfe67709de336bde37d97a15036 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Wed, 14 Nov 2012 12:30:13 -0800 Subject: [PATCH] Also consider palette component's initial values. --- src/ui/Palette.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/Palette.js b/src/ui/Palette.js index a1a1f40b..2e9cc3c3 100644 --- a/src/ui/Palette.js +++ b/src/ui/Palette.js @@ -39,7 +39,7 @@ var Palette = this.Palette = Base.extend(Callback, /** @lends Palette# */{ // Make sure each component has an entry in values, so observers get // installed further down. if (values[name] === undefined) - values[name] = null; + values[name] = component.value; } // Now replace each entry in values with a getter / setters so we can // observe change.