fix: HippieClock ring for hours

This commit is contained in:
sthag 2026-03-01 20:04:28 +01:00
parent 7f4b4aeaee
commit d0fde7cc6a

View file

@ -39,7 +39,7 @@ tags:
init() { init() {
this.addRing('seconds', 1, 21, 60, `rgb(250, 216, 3)`); this.addRing('seconds', 1, 21, 60, `rgb(250, 216, 3)`);
this.addRing('minutes', .9, 46, 60, `rgb(242, 175, 19)`); this.addRing('minutes', .9, 46, 60, `rgb(242, 175, 19)`);
this.addRing('minutes', .8, 6, this.options.h24 ? 24 : 12, `rgb(211, 10, 81)`); this.addRing('hours', .8, 6, this.options.h24 ? 24 : 12, `rgb(211, 10, 81)`);
this.addRing('dotweek', .7, 2, 7, `rgb(142, 31, 104)`); this.addRing('dotweek', .7, 2, 7, `rgb(142, 31, 104)`);
this.addRing('dotmonth', .6, 12, this.getTime().daysMonth, `rgb(39, 63, 139)`); this.addRing('dotmonth', .6, 12, this.getTime().daysMonth, `rgb(39, 63, 139)`);
this.addRing('dotyear', .5, 256, this.getTime().daysYear, `rgb(60, 87, 154)`); this.addRing('dotyear', .5, 256, this.getTime().daysYear, `rgb(60, 87, 154)`);