Use clamped animations where it makes sense

This commit is contained in:
Ivan Molodetskikh
2024-04-10 11:28:49 +04:00
parent 0c68609063
commit 5383a0591f
4 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -387,7 +387,7 @@ impl<W: LayoutElement> Tile<W> {
renderer,
scale.x as i32,
&elements,
anim.value().clamp(0., 1.) as f32,
anim.clamped_value().clamp(0., 1.) as f32,
);
self.window()
.set_offscreen_element_id(Some(elem.id().clone()));