From 101cad9eb03b604b93a24bcff862b2e663cf7508 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wies=C5=82aw=20=C5=A0olt=C3=A9s?= Date: Sat, 19 Sep 2026 16:26:43 +0200 Subject: [PATCH] Check inactive animation list tracks --- tests/NativeWeb/css_service.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/NativeWeb/css_service.cpp b/tests/NativeWeb/css_service.cpp index 4cdabbe3..8c3a41fe 100644 --- a/tests/NativeWeb/css_service.cpp +++ b/tests/NativeWeb/css_service.cpp @@ -592,7 +592,10 @@ int main(int argc,char** argv) { webscene_native::css::configure_keyframes(animated.style,definitions); animated_document.update_style_animations(animated); if(animated.animation_runtime() - && !animated.animation_runtime()->keyframe_animations.empty()) return 64; + && std::any_of( + animated.animation_runtime()->keyframe_animations.begin(), + animated.animation_runtime()->keyframe_animations.end(), + [](const auto& track) { return track.active; })) return 64; webscene_native::node_style::pseudo_element generated; const auto apply_generated=[&](const std::string& name,const std::string& value) { return webscene_native::css::apply_pseudo_value(generated,0x123456FF,false,name,value);