1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-14 00:35:52 +02:00

Update tabletopLcdButtonsController.ts

This commit is contained in:
syuilo
2026-05-07 16:00:49 +09:00
parent adc487ef78
commit 42da479026

View File

@@ -79,7 +79,6 @@ export const tabletopLcdButtonsController = defineObject({
const tex = new BABYLON.Texture(options.customPicture, scene, false, false, undefined, () => {
screenMaterial.emissiveColor = new BABYLON.Color3(1, 1, 1);
screenMaterial.emissiveTexture = tex;
screenMaterial.emissiveTexture.level = 2;
applyFit();
resolve();
}, (message, exception) => {
@@ -88,10 +87,10 @@ export const tabletopLcdButtonsController = defineObject({
screenMaterial.emissiveTexture = null;
resolve();
});
tex.level = 0.5;
tex.level = 0.75;
} else {
screenMaterial.emissiveTexture = defaultScreenTexture;
screenMaterial.emissiveTexture.level = 2;
defaultScreenTexture.level = 0.75;
applyFit();
resolve();
}