Remove fancy graphics setting

This commit is contained in:
Mashintime 2024-01-13 10:08:25 -05:00
parent e75992869d
commit 0ca8ee854a
6 changed files with 2 additions and 25 deletions

View file

@ -5,7 +5,6 @@
"spectrum": "waterfall",
"wf_theme": 2,
"theme": "default_light",
"high_graphics": true,
"update_channel": "alpha",
"enable_sys_notification": false
}

View file

@ -334,7 +334,7 @@ onMounted(() => {
>
<canvas
v-bind:id="localSpectrumID"
:class="settings.local.high_graphics == true ? 'force-gpu' : ''"
class="force-gpu"
></canvas>
</div>
<div

View file

@ -368,7 +368,7 @@ export default {
width: 100%;
height: 200px;
"
:class="settings.local.high_graphics == true ? 'force-gpu' : ''"
class="force-gpu'"
></canvas>
</div>
<div

View file

@ -68,23 +68,6 @@ function saveSettings() {
<option value="6">Binary</option>
</select>
</div>
<div class="input-group input-group-sm mb-1">
<label class="input-group-text w-50">Enable fancy GUI</label>
<label class="input-group-text w-50">
<div class="form-check form-switch form-check-inline">
<input
class="form-check-input"
type="checkbox"
id="GraphicsSwitch"
@change="saveSettings"
v-model="settings.local.high_graphics"
/>
<label class="form-check-label" for="GraphicsSwitch"
>Higher CPU Usage</label
>
</div>
</label>
</div>
<div class="input-group input-group-sm mb-1">
<span class="input-group-text w-50">Update channel</span>
<select

View file

@ -18,7 +18,6 @@ nconf.defaults({
spectrum: "waterfall",
wf_theme: 2,
theme: "default_light",
high_graphics: true,
update_channel: "alpha",
enable_sys_notification: false,
grid_layout: "[]",
@ -35,7 +34,6 @@ export const settingsStore = reactive({
spectrum: "waterfall",
wf_theme: 2,
theme: "default_light",
high_graphics: true,
update_channel: "alpha",
enable_sys_notification: false,
grid_layout: "[]",

View file

@ -69,9 +69,6 @@ export const useStateStore = defineStore("stateStore", () => {
modem_connection.value = state;
if (modem_connection.value == "open") {
//Set tuning for fancy graphics mode (high/low CPU)
//set_CPU_mode();
//GUI will auto connect to TNC if already running, if that is the case increment start count if 0
if (modemStartCount.value == 0) modemStartCount.value++;
}