mirror of
https://github.com/LCE-Hub/LCE-Emerald-Launcher.git
synced 2026-09-25 01:20:55 +00:00
feat: add new lce team cinematic intro
This commit is contained in:
@@ -28,6 +28,8 @@ const SettingsView = memo(function SettingsView() {
|
||||
setPerfBoost,
|
||||
rpcEnabled,
|
||||
setRpcEnabled,
|
||||
startFullscreen,
|
||||
setStartFullscreen,
|
||||
legacyMode,
|
||||
setLegacyMode,
|
||||
mangohudEnabled,
|
||||
@@ -100,6 +102,11 @@ const SettingsView = memo(function SettingsView() {
|
||||
setRpcEnabled(!rpcEnabled);
|
||||
};
|
||||
|
||||
const handleFullscreenToggle = () => {
|
||||
playPressSound();
|
||||
setStartFullscreen(!startFullscreen);
|
||||
};
|
||||
|
||||
const handleLegacyToggle = () => {
|
||||
playPressSound();
|
||||
setLegacyMode(!legacyMode);
|
||||
@@ -396,6 +403,12 @@ const SettingsView = memo(function SettingsView() {
|
||||
},
|
||||
});
|
||||
} else if (currentSubMenu === "launcher") {
|
||||
items.push({
|
||||
id: "fullscreen",
|
||||
label: `Start in Fullscreen: ${startFullscreen ? "ON" : "OFF"}`,
|
||||
type: "button",
|
||||
onClick: handleFullscreenToggle,
|
||||
});
|
||||
items.push({
|
||||
id: "rpc",
|
||||
label: `Discord RPC: ${rpcEnabled ? "ON" : "OFF"}`,
|
||||
|
||||
Reference in New Issue
Block a user