Give the multi-target Essential Graphics test distinct key times; group the Tick import

This commit is contained in:
MarekSpodBiedry committed 2026-10-18 18:42:21 +02:00
1 parent c6e91da8bb
commit 102dd8be6c
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -243,7 +243,7 @@ fn instance_keys_follow_a_stretched_nested_layer() {
#[test]
fn one_control_with_targets_of_different_timing_stays_in_step() {
let (s, scene, inner, [a, b], inst) = keyed_instance([(0.5, 100.0), (0.0, 200.0)]);
let (s, scene, inner, [a, b], inst) = keyed_instance([(0.5, 100.0), (0.25, 200.0)]);
for t in [0.2, 0.6, 0.75, 0.9] {
let (va, pa) = rendered(&s, scene, inner, inst, a, t);
let (vb, pb) = rendered(&s, scene, inner, inst, b, t);
+1 -1
View File
@@ -12,11 +12,11 @@
//! [`sync_project`] keeps the groups in step with the controls (and refreshes the values of
//! controls that are not overridden), [`with_overrides`] builds the project an instance renders.
use effectcraft_time::Tick;
use serde::{Deserialize, Serialize};
use crate::props::{GroupKind, Node, ParamUi, PropGroup, Property, Uid};
use crate::{ItemId, ItemKind, Keyframe, Layer, LayerId, LayerSource, Project, Value};
use effectcraft_time::Tick;
/// Match id of the Essential Properties group on precomp layers.
pub const GROUP: &str = "essential";