1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-21 01:45:33 +02:00
This commit is contained in:
syuilo
2026-02-20 11:39:42 +09:00
parent 41d40f53cf
commit cdc9b47b78
8 changed files with 94 additions and 7 deletions

View File

@@ -13,7 +13,7 @@ export const tabletopDigitalClock = defineObject({
options: {
schema: {
bodyStyle: {
type: 'select',
type: 'enum',
label: 'Body Style',
enum: ['color', 'wood'],
},
@@ -37,7 +37,7 @@ export const tabletopDigitalClock = defineObject({
const [r, g, b] = options.bodyColor;
bodyMaterial.albedoColor = new BABYLON.Color3(r, g, b);
} else {
bodyMaterial.albedoTexture = room.scene.getTextureByName('tabletop_digital_clock_wood');
}
};