mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
stylo: Clamp Au on accumulation
This commit is contained in:
parent
5e321cadf3
commit
c063ff88de
2 changed files with 5 additions and 9 deletions
|
@ -162,7 +162,7 @@ where
|
|||
impl Animate for Au {
|
||||
#[inline]
|
||||
fn animate(&self, other: &Self, procedure: Procedure) -> Result<Self, ()> {
|
||||
Ok(Au(self.0.animate(&other.0, procedure)?))
|
||||
Ok(Au::new(self.0.animate(&other.0, procedure)?))
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue