1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-21 12:15:31 +02:00
This commit is contained in:
syuilo
2026-04-19 20:15:51 +09:00
parent 3811de2283
commit e402057d3b
6 changed files with 50 additions and 42 deletions

View File

@@ -100,7 +100,7 @@ export const tabletopDigitalClock = defineObject({
applyBodyColor();
applyLcdColor();
room.intervalIds.push(setInterval(() => {
room.timer.setInterval(() => {
const onMeshes = get7segMeshesOfCurrentTime(segmentMeshes);
for (const mesh of Object.values(segmentMeshes)) {
@@ -118,7 +118,7 @@ export const tabletopDigitalClock = defineObject({
}
room?.sr.updateMesh([...Object.values(segmentMeshes), ...colonMeshes]);
}, 1000));
}, 1000);
},
onOptionsUpdated: ([k, v]) => {
if (k === 'bodyColor') {