mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-21 06:25:42 +02:00
wip
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
After Width: | Height: | Size: 4.3 KiB |
@@ -281,6 +281,13 @@ onMounted(() => {
|
|||||||
rotation: [0, -2, 0],
|
rotation: [0, -2, 0],
|
||||||
sticky: 'c',
|
sticky: 'c',
|
||||||
options: {},
|
options: {},
|
||||||
|
}, {
|
||||||
|
id: 'k2',
|
||||||
|
type: 'tabletopCalendar',
|
||||||
|
position: [-130, 70, 40],
|
||||||
|
rotation: [0, -Math.PI / 2, 0],
|
||||||
|
sticky: 'c',
|
||||||
|
options: {},
|
||||||
}, {
|
}, {
|
||||||
id: 'l',
|
id: 'l',
|
||||||
type: 'banknote',
|
type: 'banknote',
|
||||||
|
|||||||
@@ -33,6 +33,7 @@ import { powerStrip } from './objects/powerStrip.js';
|
|||||||
import { roundRug } from './objects/roundRug.js';
|
import { roundRug } from './objects/roundRug.js';
|
||||||
import { snakeplant } from './objects/snakeplant.js';
|
import { snakeplant } from './objects/snakeplant.js';
|
||||||
import { steelRack } from './objects/steelRack.js';
|
import { steelRack } from './objects/steelRack.js';
|
||||||
|
import { tabletopCalendar } from './objects/tabletopCalendar.js';
|
||||||
import { tabletopDigitalClock } from './objects/tabletopDigitalClock.js';
|
import { tabletopDigitalClock } from './objects/tabletopDigitalClock.js';
|
||||||
import { tv } from './objects/tv.js';
|
import { tv } from './objects/tv.js';
|
||||||
import { wallClock } from './objects/wallClock.js';
|
import { wallClock } from './objects/wallClock.js';
|
||||||
@@ -69,6 +70,7 @@ export const OBJECT_DEFS = [
|
|||||||
roundRug,
|
roundRug,
|
||||||
snakeplant,
|
snakeplant,
|
||||||
steelRack,
|
steelRack,
|
||||||
|
tabletopCalendar,
|
||||||
tabletopDigitalClock,
|
tabletopDigitalClock,
|
||||||
tv,
|
tv,
|
||||||
wallClock,
|
wallClock,
|
||||||
|
|||||||
@@ -0,0 +1,17 @@
|
|||||||
|
/*
|
||||||
|
* SPDX-FileCopyrightText: syuilo and misskey-project
|
||||||
|
* SPDX-License-Identifier: AGPL-3.0-only
|
||||||
|
*/
|
||||||
|
|
||||||
|
import { defineObject } from '../engine.js';
|
||||||
|
|
||||||
|
export const tabletopCalendar = defineObject({
|
||||||
|
id: 'tabletopCalendar',
|
||||||
|
defaultOptions: {},
|
||||||
|
placement: 'top',
|
||||||
|
createInstance: () => {
|
||||||
|
return {
|
||||||
|
interactions: {},
|
||||||
|
};
|
||||||
|
},
|
||||||
|
});
|
||||||
Reference in New Issue
Block a user