mirror of
https://github.com/lvgl/lvgl.git
synced 2025-01-21 06:53:01 +08:00
minor img transform fix
This commit is contained in:
parent
80896b5114
commit
5f1d1f4174
@ -406,7 +406,7 @@ static void lv_draw_map(const lv_area_t * map_area, const lv_area_t * clip_area,
|
|||||||
trans_dsc.cfg.pivot_x = map_w / 2;
|
trans_dsc.cfg.pivot_x = map_w / 2;
|
||||||
trans_dsc.cfg.pivot_y = map_h / 2;
|
trans_dsc.cfg.pivot_y = map_h / 2;
|
||||||
trans_dsc.cfg.color = style->image.color;
|
trans_dsc.cfg.color = style->image.color;
|
||||||
trans_dsc.cfg.antialias = true;
|
trans_dsc.cfg.antialias = antialaias;
|
||||||
|
|
||||||
lv_img_buf_transform_init(&trans_dsc);
|
lv_img_buf_transform_init(&trans_dsc);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user