Author: Adam Evyčędo <git@apiote.xyz>
move non-minute marks to centre
src/displayapp/screens/WatchFaceMine.cpp | 9 +++++++--
diff --git a/src/displayapp/screens/WatchFaceMine.cpp b/src/displayapp/screens/WatchFaceMine.cpp index 4371217c4fe79d89d6842e7c7ea9fb779c3809ca..0655829832dd5021d7e2824833b4b87977c22586 100644 --- a/src/displayapp/screens/WatchFaceMine.cpp +++ b/src/displayapp/screens/WatchFaceMine.cpp @@ -230,8 +230,13 @@ break; } for (int i = 0; i < div; ++i) { auto angle = (i * 30) / (div / 12); - tick_point[i][0] = CoordinateRelocate(95, angle); - tick_point[i][1] = CoordinateRelocate(100, angle); + if (div == 24 && i%2 == 0) { + tick_point[i][0] = CoordinateRelocate(95, angle); + tick_point[i][1] = CoordinateRelocate(100, angle); + } else { + tick_point[i][0] = CoordinateRelocate(85, angle); + tick_point[i][1] = CoordinateRelocate(90, angle); + } lv_line_set_points(tick[i], tick_point[i], 2); }