fix: fix overshot animaiton miss scale end frame
This commit is contained in:
@@ -534,8 +534,9 @@ void client_apply_clip(Client *c, float factor) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
wlr_scene_subsurface_tree_set_clip(&c->scene_surface->node, &clip_box);
|
wlr_scene_subsurface_tree_set_clip(&c->scene_surface->node, &clip_box);
|
||||||
buffer_set_effect(c, (animationScale){0, 0, 0, 0, opacity, opacity,
|
buffer_set_effect(c, (animationScale){1.0f, 1.0f, clip_box.width,
|
||||||
current_corner_location, false});
|
clip_box.height, opacity, opacity,
|
||||||
|
current_corner_location, true});
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user