1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-14 23:55:48 +02:00
This commit is contained in:
syuilo
2026-02-19 19:09:00 +09:00
parent 376bb328df
commit d01b3036d6
2 changed files with 20 additions and 16 deletions

View File

@@ -9,21 +9,23 @@ import { get7segMeshesOfCurrentTime } from '../utility.js';
export const tabletopDigitalClock = defineObject({
id: 'tabletopDigitalClock',
optionsSchema: {
bodyStyle: {
type: 'select',
label: 'Body Style',
enum: ['color', 'wood'],
options: {
schema: {
bodyStyle: {
type: 'select',
label: 'Body Style',
enum: ['color', 'wood'],
},
bodyColor: {
type: 'color',
label: 'Body Color',
},
},
bodyColor: {
type: 'color',
label: 'Body Color',
default: {
bodyStyle: 'color',
bodyColor: [0.45, 0.8, 0],
},
},
defaultOptions: {
bodyStyle: 'color',
bodyColor: [0.45, 0.8, 0],
},
placement: 'top',
createInstance: ({ room, options, root }) => {
return {