Skip to content

Commit

Permalink
improve order of settings
Browse files Browse the repository at this point in the history
  • Loading branch information
SenkJu committed Dec 27, 2023
1 parent 13f431b commit 8e0277d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/main/MainScreen.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -242,11 +242,11 @@
{#if settingsShown}
<SettingsContainer title="Settings" on:hideSettings={hideSettings}>
<FileSelectorSetting title="JVM Location" placeholder="Internal" bind:value={options.customJavaPath} filters={[{ name: "javaw", extensions: [] }]} windowTitle="Select custom Java wrapper" />
<ToggleSetting title="Keep launcher running" bind:value={options.keepLauncherOpen} />
<DirectorySelectorSetting title="Data Location" placeholder={dataFolderPath} bind:value={options.customDataPath} windowTitle="Select custom data directory" />
<RangeSetting title="Memory" min={20} max={100} bind:value={options.memoryPercentage} valueSuffix="%" step={1} />
<RangeSetting title="Concurrent Downloads" min={1} max={50} bind:value={options.concurrentDownloads} valueSuffix="connections" step={1} />
<ToggleSetting title="Keep launcher running" bind:value={options.keepLauncherOpen} />
<ButtonSetting text="Logout" on:click={() => dispatch("logout")} color="#4677FF" />
<DirectorySelectorSetting title="Data Location" placeholder={dataFolderPath} bind:value={options.customDataPath} windowTitle="Select custom data directory" />
<ButtonSetting text="Clear data" on:click={clearData} color="#B83529" />
<LauncherVersion version={launcherVersion} />
</SettingsContainer>
Expand Down

0 comments on commit 8e0277d

Please sign in to comment.