diff options
Diffstat (limited to 'src/client/widgets')
| -rw-r--r-- | src/client/widgets/clock.vue | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/src/client/widgets/clock.vue b/src/client/widgets/clock.vue index e0689a294f..d960c3809a 100644 --- a/src/client/widgets/clock.vue +++ b/src/client/widgets/clock.vue @@ -1,7 +1,7 @@ <template> <MkContainer :naked="props.transparent" :show-header="false"> <div class="vubelbmv"> - <MkAnalogClock class="clock"/> + <MkAnalogClock class="clock" :thickness="props.thickness"/> </div> </MkContainer> </template> @@ -20,6 +20,17 @@ const widget = define({ type: 'boolean', default: false, }, + thickness: { + type: 'radio', + default: 0.1, + options: [{ + value: 0.1, label: 'thin' + }, { + value: 0.2, label: 'medium' + }, { + value: 0.3, label: 'thick' + }] + } }) }); |