mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-04-06 07:15:53 -04:00
放大动画不对buffer进行缩放
This commit is contained in:
parent
a35290a587
commit
7747cb19d7
1 changed files with 3 additions and 0 deletions
3
maomao.c
3
maomao.c
|
|
@ -3636,6 +3636,9 @@ void scene_buffer_apply_size(struct wlr_scene_buffer *buffer, int sx, int sy, vo
|
|||
}
|
||||
|
||||
void buffer_set_size(Client *c, animationScale data) {
|
||||
if (c->animainit_geom.width < c->current.width && c->animainit_geom.height < c->geom.height) {
|
||||
return;
|
||||
}
|
||||
if(c->iskilling|| c->animation.tagouting || c->animation.tagining || c->animation.tagouted) {
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue