fix: miss buffer scale when only width or height resize
This commit is contained in:
2
maomao.c
2
maomao.c
@@ -4441,7 +4441,7 @@ void scene_buffer_apply_size(struct wlr_scene_buffer *buffer, int sx, int sy,
|
||||
void *data) {
|
||||
animationScale *scale_data = (animationScale *)data;
|
||||
|
||||
if(scale_data->height_scale < 1 || scale_data->width_scale < 1) {
|
||||
if(scale_data->height_scale < 1 && scale_data->width_scale < 1) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user