一点小错误修复

This commit is contained in:
DreamMaoMao 2025-02-21 22:39:31 +08:00
parent 343fecae8a
commit 3e26bbbeb1

View file

@ -3655,7 +3655,7 @@ 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->animation.current.width <= c->current.width && c->animation.current.height <= c->geom.height) {
if (c->animation.current.width <= c->geom.width && c->animation.current.height <= c->geom.height) {
return;
}
if(c->iskilling|| c->animation.tagouting || c->animation.tagining || c->animation.tagouted) {