refactor(style): rename shadow_ofs to shadow_offset

This commit is contained in:
Gabor Kiss-Vamosi
2023-10-31 19:10:02 +01:00
parent 01f2949acc
commit d28f80d362
32 changed files with 132 additions and 109 deletions

View File

@@ -22,8 +22,8 @@ static void event_cb(lv_event_t * e)
if(pressed) rect_draw_dsc->bg_color = lv_palette_darken(LV_PALETTE_BLUE, 3);
else rect_draw_dsc->bg_color = lv_palette_main(LV_PALETTE_BLUE);
rect_draw_dsc->shadow_width = 6;
rect_draw_dsc->shadow_ofs_x = 3;
rect_draw_dsc->shadow_ofs_y = 3;
rect_draw_dsc->shadow_offset_x = 3;
rect_draw_dsc->shadow_offset_y = 3;
}
if(draw_task->type == LV_DRAW_TASK_TYPE_LABEL) {
lv_draw_label_dsc_t * label_draw_dsc = draw_task->draw_dsc;