summaryrefslogtreecommitdiff
path: root/include/llmr/style/applied_class_properties.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/llmr/style/applied_class_properties.hpp')
-rw-r--r--include/llmr/style/applied_class_properties.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/llmr/style/applied_class_properties.hpp b/include/llmr/style/applied_class_properties.hpp
index cda3a42a48..0c80b0a173 100644
--- a/include/llmr/style/applied_class_properties.hpp
+++ b/include/llmr/style/applied_class_properties.hpp
@@ -34,6 +34,10 @@ public:
void add(ClassID class_id, timestamp begin, timestamp end, const PropertyValue &value) {
properties.emplace_back(class_id, begin, end, value);
}
+
+ bool hasTransitions() const {
+ return properties.size() > 1;
+ }
};
}