[core] Fix PropertyValue<T>::set

For runtime styling, it needs to overwrite any existing value.
This commit is contained in:
John Firebaugh
2016-06-10 15:32:57 -07:00
parent 1529116ef6
commit 6cc2f8a3a5

View File

@@ -36,7 +36,7 @@ public:
}
void set(const PropertyValue<T>& value_) {
values.emplace(ClassID::Default, value_);
values[ClassID::Default] = value_;
}
void parse(const char* name, const JSValue& layer) {