mirror of
https://github.com/niri-wm/niri.git
synced 2026-06-22 02:01:55 +07:00
Use clamped animations where it makes sense
This commit is contained in:
+1
-1
@@ -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()));
|
||||
|
||||
Reference in New Issue
Block a user