Skip to content

Commit d95ab71

Browse files
authored
Add SupaflyFPV graphconfigs as default preset (#734)
1 parent 1374564 commit d95ab71

File tree

2 files changed

+1593
-1
lines changed

2 files changed

+1593
-1
lines changed

src/main.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ import {
3333
} from './tools.js';
3434
import { PrefStorage } from './pref_storage.js';
3535
import { makeScreenshot } from './screenshot.js';
36+
import defaultWorkspaceGraphConfigs from './workspace-supafly.json';
3637

3738
// TODO: this is a hack, once we move to web fix this
3839
globalThis.userSettings = null;
@@ -1065,7 +1066,7 @@ function BlackboxLogViewer() {
10651066
if (item) {
10661067
workspaceGraphConfigs = upgradeWorkspaceFormat(item);
10671068
} else {
1068-
workspaceGraphConfigs = [];
1069+
workspaceGraphConfigs = defaultWorkspaceGraphConfigs;
10691070
}
10701071
});
10711072

0 commit comments

Comments
 (0)