mirror of
https://github.com/Grasscutters/Cultivation.git
synced 2026-02-04 09:25:16 +01:00
Update launch_args and fix login timeout to use the options OptionSection for better UX and easier for theming
This commit is contained in:
@@ -823,9 +823,13 @@ export default class Options extends React.Component<IProps, IState> {
|
|||||||
<Tr text="components.delete" />
|
<Tr text="components.delete" />
|
||||||
</BigButton>
|
</BigButton>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div className="OptionSection" id="menuOptionsContainerLaunchArgs">
|
||||||
<div className="OptionLabel" id="menuOptionsLaunchArgs">
|
<div className="OptionLabel" id="menuOptionsLaunchArgs">
|
||||||
<Tr text="options.launch_args" />
|
<Tr text="options.launch_args" />
|
||||||
</div>
|
</div>
|
||||||
|
<div className="OptionValue" id="menuOptionsValueLaunchArgs">
|
||||||
<TextInput
|
<TextInput
|
||||||
id="launch_args"
|
id="launch_args"
|
||||||
key="launch_args"
|
key="launch_args"
|
||||||
@@ -834,7 +838,9 @@ export default class Options extends React.Component<IProps, IState> {
|
|||||||
value={this.state.launch_args}
|
value={this.state.launch_args}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div className="OptionSection" id="menuOptionsContainerFixRes">
|
||||||
<div className="OptionLabel" id="menuOptionsLabelFixRes">
|
<div className="OptionLabel" id="menuOptionsLabelFixRes">
|
||||||
<Tr text="options.fix_res" />
|
<Tr text="options.fix_res" />
|
||||||
</div>
|
</div>
|
||||||
@@ -843,6 +849,7 @@ export default class Options extends React.Component<IProps, IState> {
|
|||||||
<Tr text="components.fix" />
|
<Tr text="components.fix" />
|
||||||
</BigButton>
|
</BigButton>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
</Menu>
|
</Menu>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user