mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-04-06 07:15:53 -04:00
修复动画终点抖动
This commit is contained in:
parent
6e24508749
commit
6f05de6512
1 changed files with 2 additions and 2 deletions
4
maomao.c
4
maomao.c
|
|
@ -875,8 +875,8 @@ void client_apply_clip(Client *c) {
|
|||
}
|
||||
|
||||
animationScale scale_data;
|
||||
scale_data.width = clip_box.width - c->bw;
|
||||
scale_data.height = clip_box.height -c->bw;
|
||||
scale_data.width = clip_box.width - 2 * c->bw;
|
||||
scale_data.height = clip_box.height - 2* c->bw;
|
||||
wlr_scene_subsurface_tree_set_clip(&c->scene_surface->node, &clip_box);
|
||||
apply_border(c, clip_box, offset);
|
||||
if(c->animation.running) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue