mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-22 04:35:31 +02:00
controller
This commit is contained in:
@@ -100,7 +100,7 @@ export const tabletopDigitalClock = defineObject({
|
||||
applyBodyColor();
|
||||
applyLcdColor();
|
||||
|
||||
room.intervalIds.push(window.setInterval(() => {
|
||||
room.intervalIds.push(setInterval(() => {
|
||||
const onMeshes = get7segMeshesOfCurrentTime(segmentMeshes);
|
||||
|
||||
for (const mesh of Object.values(segmentMeshes)) {
|
||||
|
||||
@@ -39,7 +39,7 @@ export const wallClock = defineObject({
|
||||
|
||||
return {
|
||||
onInited: () => {
|
||||
room.intervalIds.push(window.setInterval(() => {
|
||||
room.intervalIds.push(setInterval(() => {
|
||||
const now = new Date();
|
||||
const hours = now.getHours() % 12;
|
||||
const minutes = now.getMinutes();
|
||||
|
||||
Reference in New Issue
Block a user