修改密码图案位置
This commit is contained in:
parent
974ee1de62
commit
623849d347
|
@ -953,7 +953,7 @@ static void update_Password_msg(lv_obj_t* obj)
|
||||||
|
|
||||||
lv_btnmatrix_set_focused_btn(PasswordMatrixObj, PasswordIndex);
|
lv_btnmatrix_set_focused_btn(PasswordMatrixObj, PasswordIndex);
|
||||||
|
|
||||||
lv_obj_set_x(PasswordImage, (64 + 32 * PasswordIndex));
|
lv_obj_set_x(PasswordImage, (63 + 32 * PasswordIndex));
|
||||||
}
|
}
|
||||||
|
|
||||||
void show_Password_page(lv_obj_t* obj)
|
void show_Password_page(lv_obj_t* obj)
|
||||||
|
|
|
@ -216,7 +216,7 @@ static void update_Password_msg(lv_obj_t* obj)
|
||||||
lv_btnmatrix_set_focused_btn(SendTimeMatrixObj_0, PasswordIndex);
|
lv_btnmatrix_set_focused_btn(SendTimeMatrixObj_0, PasswordIndex);
|
||||||
lv_btnmatrix_set_map(SendTimeMatrixObj_0, PasswordMap);
|
lv_btnmatrix_set_map(SendTimeMatrixObj_0, PasswordMap);
|
||||||
int offset = 0;
|
int offset = 0;
|
||||||
lv_obj_set_x(SelectedImage, (69 + 32 * PasswordIndex + offset));
|
lv_obj_set_x(SelectedImage, (68 + 32 * PasswordIndex + offset));
|
||||||
}
|
}
|
||||||
static void UIFlowPassword_Key(lv_obj_t* obj, uint32_t key)
|
static void UIFlowPassword_Key(lv_obj_t* obj, uint32_t key)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user