mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2025-11-17 06:59:52 -05:00
fix: miss buffer scale when only width or height resize
This commit is contained in:
parent
ac06fa2310
commit
f1cbdbb997
1 changed files with 1 additions and 1 deletions
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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue