refactor(style): rename shadow_ofs to shadow_offset
This commit is contained in:
@@ -39,8 +39,8 @@ void lv_demo_scroll(void)
|
||||
{
|
||||
lv_obj_t * panel = lv_obj_create(lv_screen_active());
|
||||
lv_obj_set_style_shadow_width(panel, 16, 0);
|
||||
lv_obj_set_style_shadow_ofs_y(panel, 8, 0);
|
||||
lv_obj_set_style_shadow_ofs_x(panel, 4, 0);
|
||||
lv_obj_set_style_shadow_offset_y(panel, 8, 0);
|
||||
lv_obj_set_style_shadow_offset_x(panel, 4, 0);
|
||||
lv_obj_set_style_shadow_opa(panel, LV_OPA_40, 0);
|
||||
|
||||
lv_obj_set_size(panel, lv_pct(70), lv_pct(90));
|
||||
|
||||
Reference in New Issue
Block a user