Small fix
This commit is contained in:
parent
83fb556aa2
commit
3a276b2a8d
2 changed files with 3 additions and 3 deletions
|
@ -77,7 +77,7 @@ export class AppEvents {
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case "webgpu":
|
case "webgpu":
|
||||||
console.info("WebGPU is enabled.");
|
console.info("[AppEvents] WebGPU is enabled.");
|
||||||
app.commandLine.appendSwitch("enable-unsafe-webgpu");
|
app.commandLine.appendSwitch("enable-unsafe-webgpu");
|
||||||
if (process.platform === "linux") {
|
if (process.platform === "linux") {
|
||||||
app.commandLine.appendSwitch("enable-features", "Vulkan");
|
app.commandLine.appendSwitch("enable-features", "Vulkan");
|
||||||
|
@ -85,7 +85,7 @@ export class AppEvents {
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case "disabled":
|
case "disabled":
|
||||||
console.info("Hardware acceleration is disabled.");
|
console.info("[AppEvents] Hardware acceleration is disabled.");
|
||||||
app.commandLine.appendSwitch("disable-gpu");
|
app.commandLine.appendSwitch("disable-gpu");
|
||||||
app.disableHardwareAcceleration();
|
app.disableHardwareAcceleration();
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -1022,7 +1022,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="md-option-segment md-option-segment_auto">
|
<div class="md-option-segment md-option-segment_auto">
|
||||||
<label>
|
<label>
|
||||||
<select class="md-select" v-model="app.cfg.connectivity.discord_rpc.activity.buttons.first" @change="if ($event.target.value == 'disabled') app.cfg.connectivity.discord_rpc.activity.buttons.second = 'disabled';">
|
<select class="md-select" v-model="app.cfg.connectivity.discord_rpc.activity.buttons.first" @change="$event.target.value == 'disabled' ? app.cfg.connectivity.discord_rpc.activity.buttons.second = 'disabled' : ''">
|
||||||
<option v-for="option in app.cfg.connectivity.discord_rpc.activity.buttons.options" v-bind:value="option" v-show="app.cfg.connectivity.discord_rpc.activity.buttons.second != option">{{ $root.getLz(`settings.option.connectivity.discordRPC.buttons.${option}`) }}</option>
|
<option v-for="option in app.cfg.connectivity.discord_rpc.activity.buttons.options" v-bind:value="option" v-show="app.cfg.connectivity.discord_rpc.activity.buttons.second != option">{{ $root.getLz(`settings.option.connectivity.discordRPC.buttons.${option}`) }}</option>
|
||||||
<option value="disabled">{{$root.getLz('term.disabled')}}</option>
|
<option value="disabled">{{$root.getLz('term.disabled')}}</option>
|
||||||
</select>
|
</select>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue