mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-14 23:55:48 +02:00
wip
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user