fix dynamically applied NodeUI state classes to invalidate style list when changed
[potlatch2.git] / net / systemeD / halcyon / EntityUI.as
index 88757e3b53765747309dadfca4b83306d2e83e6c..11cb0a76e7ac63ee7c515f0fa47921340ade2d26 100644 (file)
@@ -169,6 +169,7 @@ package net.systemeD.halcyon {
         }
 
         public function setStateClass(stateType:String, isOn:*):Boolean {
+                       if ( isOn == true ) { isOn='yes'; }
             if ( isOn && stateClasses[stateType] != isOn ) {
                 stateClasses[stateType] = isOn;
                                invalidateStyleList();