mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2025-10-29 05:40:21 -04:00
fix: fix overshot animaiton miss scale end frame
This commit is contained in:
parent
608aa7f7a2
commit
057cfc1b8b
1 changed files with 3 additions and 2 deletions
|
|
@ -534,8 +534,9 @@ void client_apply_clip(Client *c, float factor) {
|
|||
}
|
||||
|
||||
wlr_scene_subsurface_tree_set_clip(&c->scene_surface->node, &clip_box);
|
||||
buffer_set_effect(c, (animationScale){0, 0, 0, 0, opacity, opacity,
|
||||
current_corner_location, false});
|
||||
buffer_set_effect(c, (animationScale){1.0f, 1.0f, clip_box.width,
|
||||
clip_box.height, opacity, opacity,
|
||||
current_corner_location, true});
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue