[core] Fix PropertyValue<T>::set
For runtime styling, it needs to overwrite any existing value.
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user