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.
@@ -254,6 +254,13 @@ onMounted(() => {
|
||||
rotation: [0, Math.PI / 2, 0],
|
||||
sticky: 'j',
|
||||
options: {},
|
||||
}, {
|
||||
id: 'j3',
|
||||
type: 'letterCase',
|
||||
position: [130, 59, 125],
|
||||
rotation: [0, Math.PI / 2, 0],
|
||||
sticky: 'j',
|
||||
options: {},
|
||||
}, {
|
||||
id: 'j3',
|
||||
type: 'powerStrip',
|
||||
|
||||
@@ -20,6 +20,7 @@ import { energyDrink } from './objects/energyDrink.js';
|
||||
import { facialTissue } from './objects/facialTissue.js';
|
||||
import { keyboard } from './objects/keyboard.js';
|
||||
import { lavaLamp } from './objects/lavaLamp.js';
|
||||
import { letterCase } from './objects/letterCase.js';
|
||||
import { milk } from './objects/milk.js';
|
||||
import { monitor } from './objects/monitor.js';
|
||||
import { monstera } from './objects/monstera.js';
|
||||
@@ -54,6 +55,7 @@ export const OBJECT_DEFS = [
|
||||
facialTissue,
|
||||
keyboard,
|
||||
lavaLamp,
|
||||
letterCase,
|
||||
milk,
|
||||
monitor,
|
||||
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