Fixed bug number 9848.
This commit is contained in:
parent
e70f5a9f7a
commit
692ac34754
|
@ -1279,7 +1279,7 @@
|
||||||
"widget": "Image"
|
"widget": "Image"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"align": "Right",
|
"align": "Left",
|
||||||
"class": "lv_label",
|
"class": "lv_label",
|
||||||
"click": false,
|
"click": false,
|
||||||
"drag": false,
|
"drag": false,
|
||||||
|
|
|
@ -1284,7 +1284,6 @@ lv_obj_t* UIFlowMovie_create(){
|
||||||
lv_plugin_label_allocate_ext_attr(label_rec_time);
|
lv_plugin_label_allocate_ext_attr(label_rec_time);
|
||||||
lv_plugin_label_allocate_ext_attr(label_rec_time);
|
lv_plugin_label_allocate_ext_attr(label_rec_time);
|
||||||
lv_plugin_label_set_font_type(label_rec_time, LV_PLUGIN_LANGUAGE_FONT_TYPE_0);
|
lv_plugin_label_set_font_type(label_rec_time, LV_PLUGIN_LANGUAGE_FONT_TYPE_0);
|
||||||
lv_label_set_align(label_rec_time, LV_LABEL_ALIGN_RIGHT);
|
|
||||||
lv_label_set_long_mode(label_rec_time, LV_LABEL_LONG_CROP);
|
lv_label_set_long_mode(label_rec_time, LV_LABEL_LONG_CROP);
|
||||||
lv_obj_set_pos(label_rec_time, 38, 10);
|
lv_obj_set_pos(label_rec_time, 38, 10);
|
||||||
lv_obj_set_size(label_rec_time, 90, 30);
|
lv_obj_set_size(label_rec_time, 90, 30);
|
||||||
|
|
|
@ -111,6 +111,7 @@ static void set_rec_status(bool status)
|
||||||
gMovData.State = MOV_ST_VIEW;
|
gMovData.State = MOV_ST_VIEW;
|
||||||
// lv_obj_set_hidden(container_movie_scr_uiflowmovie, false);
|
// lv_obj_set_hidden(container_movie_scr_uiflowmovie, false);
|
||||||
lv_obj_set_hidden(label_rec_time_scr_uiflowmovie, true);
|
lv_obj_set_hidden(label_rec_time_scr_uiflowmovie, true);
|
||||||
|
lv_obj_set_hidden(image_rec_ellipse_scr_uiflowmovie, true);
|
||||||
FlowMovie_StopRec();
|
FlowMovie_StopRec();
|
||||||
update_icons();
|
update_icons();
|
||||||
}
|
}
|
||||||
|
@ -151,13 +152,13 @@ static void update_date_time(void)
|
||||||
|
|
||||||
static void update_rec_ellipse(void)
|
static void update_rec_ellipse(void)
|
||||||
{
|
{
|
||||||
if (get_rec_status()){
|
// if (get_rec_status()){
|
||||||
bool is_hidden = lv_obj_get_hidden(image_rec_ellipse_scr_uiflowmovie);
|
// bool is_hidden = lv_obj_get_hidden(image_rec_ellipse_scr_uiflowmovie);
|
||||||
lv_obj_set_hidden(image_rec_ellipse_scr_uiflowmovie, !is_hidden);
|
// lv_obj_set_hidden(image_rec_ellipse_scr_uiflowmovie, !is_hidden);
|
||||||
}
|
// }
|
||||||
else{
|
// else{
|
||||||
lv_obj_set_hidden(image_rec_ellipse_scr_uiflowmovie, true);
|
// lv_obj_set_hidden(image_rec_ellipse_scr_uiflowmovie, true);
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
|
|
||||||
static void update_pim(void)
|
static void update_pim(void)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user