mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2025-11-13 13:29:55 -05:00
fix: fix overshot animaiton miss scale end frame
This commit is contained in:
parent
beffcdd61d
commit
de5fc65d84
1 changed files with 4 additions and 2 deletions
|
|
@ -406,8 +406,10 @@ 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, false});
|
buffer_set_effect(c, (animationScale){1.0f, 1.0f, clip_box.width,
|
||||||
|
clip_box.height, opacity, opacity,
|
||||||
|
true});
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue