mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Don't derive Animate for Transform<T>
There is a custom implementation already in animated_properties.
This commit is contained in:
parent
c2e4a609a0
commit
9f631fd886
1 changed files with 1 additions and 1 deletions
|
@ -298,7 +298,7 @@ pub enum TransformOperation<Angle, Number, Length, Integer, LengthOrPercentage>
|
|||
},
|
||||
}
|
||||
|
||||
#[derive(Animate, Clone, Debug, MallocSizeOf, PartialEq, ToComputedValue, ToCss)]
|
||||
#[derive(Clone, Debug, MallocSizeOf, PartialEq, ToComputedValue, ToCss)]
|
||||
/// A value of the `transform` property
|
||||
pub struct Transform<T>(#[css(if_empty = "none", iterable)] pub Vec<T>);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue