AsteroidOS / unofficial-watchfaces

Database of community-made watchfaces for AsteroidOS.
51 stars 32 forks source link

Refactor decimal-time to use components #132

Closed beroset closed 6 months ago

beroset commented 6 months ago

This refactors the decimal-time watchface to use a few techniques. First, it uses named inline components to simplify code and reduce repetition. Second, it keys general sizing from the watchface width rather than the height to look better on a rectangular watchface that is taller than it is wide (e.g. beluga). Third, it eliminates the use of an explicit z ordering in favor of simply having the z-ordering implicit by the order of elements in the file. Finally, it also updates the copyright years.