Fixed a few small things.

This commit is contained in:
YourWishes committed 2023-06-20 09:29:16 -07:00
1 parent 9574e9a3e9
commit d679b06b9f
13 files changed
+118 -23

No files matched your search

+3 -3
View File
@@ -10,18 +10,18 @@ namespace Dawn {
template<typename T>
class VNSetEvent : public VNAnimateEvent<T> {
public:
T *modifies = nullptr;
StateProperty<T> *modifies = nullptr;
protected:
void onStart() override {
assertNotNull(this->modifies);
this->from = *modifies;
this->from = modifies->getValue();
VNAnimateEvent<T>::onStart();
}
void setValue(T value) override {
*modifies = value;
modifies->setValue(value);
}
};
}