mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-31 23:14:19 +02:00
wip
This commit is contained in:
Binary file not shown.
Binary file not shown.
@@ -254,6 +254,13 @@ onMounted(() => {
|
|||||||
rotation: [0, Math.PI / 2, 0],
|
rotation: [0, Math.PI / 2, 0],
|
||||||
sticky: 'j',
|
sticky: 'j',
|
||||||
options: {},
|
options: {},
|
||||||
|
}, {
|
||||||
|
id: 'j3',
|
||||||
|
type: 'letterCase',
|
||||||
|
position: [130, 59, 125],
|
||||||
|
rotation: [0, Math.PI / 2, 0],
|
||||||
|
sticky: 'j',
|
||||||
|
options: {},
|
||||||
}, {
|
}, {
|
||||||
id: 'j3',
|
id: 'j3',
|
||||||
type: 'powerStrip',
|
type: 'powerStrip',
|
||||||
|
|||||||
@@ -20,6 +20,7 @@ import { energyDrink } from './objects/energyDrink.js';
|
|||||||
import { facialTissue } from './objects/facialTissue.js';
|
import { facialTissue } from './objects/facialTissue.js';
|
||||||
import { keyboard } from './objects/keyboard.js';
|
import { keyboard } from './objects/keyboard.js';
|
||||||
import { lavaLamp } from './objects/lavaLamp.js';
|
import { lavaLamp } from './objects/lavaLamp.js';
|
||||||
|
import { letterCase } from './objects/letterCase.js';
|
||||||
import { milk } from './objects/milk.js';
|
import { milk } from './objects/milk.js';
|
||||||
import { monitor } from './objects/monitor.js';
|
import { monitor } from './objects/monitor.js';
|
||||||
import { monstera } from './objects/monstera.js';
|
import { monstera } from './objects/monstera.js';
|
||||||
@@ -54,6 +55,7 @@ export const OBJECT_DEFS = [
|
|||||||
facialTissue,
|
facialTissue,
|
||||||
keyboard,
|
keyboard,
|
||||||
lavaLamp,
|
lavaLamp,
|
||||||
|
letterCase,
|
||||||
milk,
|
milk,
|
||||||
monitor,
|
monitor,
|
||||||
monstera,
|
monstera,
|
||||||
|
|||||||
17
packages/frontend/src/utility/room/objects/letterCase.ts
Normal file
17
packages/frontend/src/utility/room/objects/letterCase.ts
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
/*
|
||||||
|
* SPDX-FileCopyrightText: syuilo and misskey-project
|
||||||
|
* SPDX-License-Identifier: AGPL-3.0-only
|
||||||
|
*/
|
||||||
|
|
||||||
|
import { defineObject } from '../engine.js';
|
||||||
|
|
||||||
|
export const letterCase = defineObject({
|
||||||
|
id: 'letterCase',
|
||||||
|
defaultOptions: {},
|
||||||
|
placement: 'top',
|
||||||
|
createInstance: () => {
|
||||||
|
return {
|
||||||
|
interactions: {},
|
||||||
|
};
|
||||||
|
},
|
||||||
|
});
|
||||||
Reference in New Issue
Block a user