summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/comp-manager.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/comp-manager.c b/src/comp-manager.c
index d4872d6..40c91a4 100644
--- a/src/comp-manager.c
+++ b/src/comp-manager.c
@@ -262,7 +262,7 @@ void _comp_on_ready_for_edit_cb(watchface_editable_container_h ed_con_h, const c
}
watchface_editable_highlight_create(&hi, WATCHFACE_EDITABLE_SHAPE_TYPE_CIRCLE);
- watchface_editable_highlight_set_geometry(hi, 100, 100, 100, 100);
+ watchface_editable_highlight_set_geometry(hi, 0, 0, 360, 360);
watchface_editable_add_design_element(ed_con_h, DIAL_EDIT, current_idx,
candidates_list, hi, "Dial");
watchface_editable_candidates_list_destroy(candidates_list);
@@ -283,13 +283,12 @@ void _comp_on_ready_for_edit_cb(watchface_editable_container_h ed_con_h, const c
}
}
- watchface_editable_highlight_set_geometry(hi, 100, 100, 100, 100);
watchface_editable_add_design_element(ed_con_h, HANDS_EDIT, current_idx,
- candidates_list, hi, "Hand");
+ candidates_list, NULL, "Hand");
watchface_editable_candidates_list_destroy(candidates_list);
/* Battery */
- watchface_editable_highlight_set_geometry(hi, 100, 100, 100, 100);
+ watchface_editable_highlight_set_geometry(hi, 208, 118, 124, 124);
watchface_editable_add_complication(ed_con_h, RIGHT_COMP, _comp, hi);
watchface_editable_request_edit(ed_con_h, _comp_on_editable_update, user_data);