mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 10:04:33 +02:00
Remove fancy graphics setting
This commit is contained in:
parent
e75992869d
commit
0ca8ee854a
|
@ -5,7 +5,6 @@
|
|||
"spectrum": "waterfall",
|
||||
"wf_theme": 2,
|
||||
"theme": "default_light",
|
||||
"high_graphics": true,
|
||||
"update_channel": "alpha",
|
||||
"enable_sys_notification": false
|
||||
}
|
||||
|
|
|
@ -334,7 +334,7 @@ onMounted(() => {
|
|||
>
|
||||
<canvas
|
||||
v-bind:id="localSpectrumID"
|
||||
:class="settings.local.high_graphics == true ? 'force-gpu' : ''"
|
||||
class="force-gpu"
|
||||
></canvas>
|
||||
</div>
|
||||
<div
|
||||
|
|
|
@ -368,7 +368,7 @@ export default {
|
|||
width: 100%;
|
||||
height: 200px;
|
||||
"
|
||||
:class="settings.local.high_graphics == true ? 'force-gpu' : ''"
|
||||
class="force-gpu'"
|
||||
></canvas>
|
||||
</div>
|
||||
<div
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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: "[]",
|
||||
|
|
|
@ -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++;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue