1
Fork 0
mirror of https://github.com/redstrate/Astra.git synced 2025-04-25 05:47:45 +00:00

Hide some advanced Dalamud stuff behind the dev tools settings

For a normal user, they would never have to (and really shouldn't) the
injection delay or method options. This also reduces some of the options
overlay on this page.
This commit is contained in:
Joshua Goins 2024-05-26 08:24:38 -04:00
parent a73b559a96
commit 8dca4226b6

View file

@ -247,11 +247,13 @@ FormCard.FormCardPage {
FormCard.FormDelegateSeparator { FormCard.FormDelegateSeparator {
above: dalamudChannelDelegate above: dalamudChannelDelegate
below: dalamudInjectDelegate below: dalamudInjectDelegate
visible: LauncherCore.settings.showDevTools
} }
FormCard.FormComboBoxDelegate { FormCard.FormComboBoxDelegate {
id: dalamudInjectDelegate id: dalamudInjectDelegate
visible: LauncherCore.settings.showDevTools
text: i18n("Injection Method") text: i18n("Injection Method")
description: "It shouldn't be nessecary to change this setting, unless you're running into issues injecting Dalamud." description: "It shouldn't be nessecary to change this setting, unless you're running into issues injecting Dalamud."
model: ["Entrypoint", "DLL Injection"] model: ["Entrypoint", "DLL Injection"]
@ -268,6 +270,7 @@ FormCard.FormCardPage {
FormCard.FormSpinBoxDelegate { FormCard.FormSpinBoxDelegate {
id: dalamudDelayDelegate id: dalamudDelayDelegate
visible: LauncherCore.settings.showDevTools
label: i18n("Injection Delay") label: i18n("Injection Delay")
value: page.profile.dalamudInjectDelay value: page.profile.dalamudInjectDelay
onValueChanged: page.profile.dalamudInjectDelay = value onValueChanged: page.profile.dalamudInjectDelay = value