It's state.value, not Property.value. It's just how I saved the action json

--
Steve Nguyen
Drexel University - Computer Science
st.nguyen09@gmail.com
(484) 602-5138
On May 18, 2014 11:27 AM, "seanblue" <notifications@github.com> wrote:

> In Source/models/Property/Coloring/GradientColoringScheme.js:
>
> > +            dataField: this.dataField.getDisplayState(),
> > +            keyField: this.keyField.getDisplayState(),
> > +            type: this.getType()
> > +        };
> > +
> > +        return displayState;
> > +    };
> > +
> > +    GradientColoringScheme.prototype.setDisplayState = function(state) {
> > +        var self = this;
> > +
> > +        if(defined(state.startColor) && state.startColor.value !== this.startColor.originalValue) {
> > +            this.startColor.displayValue = state.startColor.value;
> > +        }
> > +        if(defined(state.endColor) && state.endColor.value !== this.endColor.originalValue) {
> > +            this.endColor.displayValue = state.endColor.value;
>
> I don't understand these. The action editor's display value should be the
> original value.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/KSHSK/WAVED/pull/273/files#r12774068>
> .
>