mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-03-21 03:30:42 +00: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],
|
||||
sticky: 'c',
|
||||
options: {},
|
||||
}, {
|
||||
id: 'k2',
|
||||
type: 'tabletopCalendar',
|
||||
position: [-130, 70, 40],
|
||||
rotation: [0, -Math.PI / 2, 0],
|
||||
sticky: 'c',
|
||||
options: {},
|
||||
}, {
|
||||
id: 'l',
|
||||
type: 'banknote',
|
||||
|
||||
@@ -33,6 +33,7 @@ import { powerStrip } from './objects/powerStrip.js';
|
||||
import { roundRug } from './objects/roundRug.js';
|
||||
import { snakeplant } from './objects/snakeplant.js';
|
||||
import { steelRack } from './objects/steelRack.js';
|
||||
import { tabletopCalendar } from './objects/tabletopCalendar.js';
|
||||
import { tabletopDigitalClock } from './objects/tabletopDigitalClock.js';
|
||||
import { tv } from './objects/tv.js';
|
||||
import { wallClock } from './objects/wallClock.js';
|
||||
@@ -69,6 +70,7 @@ export const OBJECT_DEFS = [
|
||||
roundRug,
|
||||
snakeplant,
|
||||
steelRack,
|
||||
tabletopCalendar,
|
||||
tabletopDigitalClock,
|
||||
tv,
|
||||
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