mirror of
https://github.com/Grasscutters/Cultivation.git
synced 2025-12-12 15:14:35 +01:00
Merge pull request #255 from GID0317/main
Update launch_args, Fix login timeout and transparency support
This commit is contained in:
@@ -67,6 +67,7 @@
|
|||||||
"windows": [
|
"windows": [
|
||||||
{
|
{
|
||||||
"fullscreen": false,
|
"fullscreen": false,
|
||||||
|
"transparent": true,
|
||||||
"height": 730,
|
"height": 730,
|
||||||
"resizable": true,
|
"resizable": true,
|
||||||
"title": "Cultivation",
|
"title": "Cultivation",
|
||||||
|
|||||||
@@ -823,25 +823,32 @@ 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>
|
||||||
<TextInput
|
<div className="OptionValue" id="menuOptionsValueLaunchArgs">
|
||||||
id="launch_args"
|
<TextInput
|
||||||
key="launch_args"
|
id="launch_args"
|
||||||
placeholder={'-arg=value'}
|
key="launch_args"
|
||||||
onChange={this.setLaunchArgs}
|
placeholder={'-arg=value'}
|
||||||
value={this.state.launch_args}
|
onChange={this.setLaunchArgs}
|
||||||
/>
|
value={this.state.launch_args}
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="OptionLabel" id="menuOptionsLabelFixRes">
|
<div className="OptionSection" id="menuOptionsContainerFixRes">
|
||||||
<Tr text="options.fix_res" />
|
<div className="OptionLabel" id="menuOptionsLabelFixRes">
|
||||||
</div>
|
<Tr text="options.fix_res" />
|
||||||
<div className="OptionValue" id="menuOptionsButtonfixRes">
|
</div>
|
||||||
<BigButton onClick={this.fixRes} id="fixRes">
|
<div className="OptionValue" id="menuOptionsButtonfixRes">
|
||||||
<Tr text="components.fix" />
|
<BigButton onClick={this.fixRes} id="fixRes">
|
||||||
</BigButton>
|
<Tr text="components.fix" />
|
||||||
|
</BigButton>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</Menu>
|
</Menu>
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user