From 756b8a2a29c8adc1e2c52e80e04c3afc0dca011e Mon Sep 17 00:00:00 2001 From: syuilo Date: Mon, 19 Jul 2021 23:31:27 +0900 Subject: Make thickness of clock hands configuable --- src/client/widgets/clock.vue | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'src/client/widgets') 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 @@ @@ -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' + }] + } }) }); -- cgit v1.2.3-freya