add frequency scope by default

This commit is contained in:
2023-11-18 23:42:03 +01:00
parent 3627e1fbea
commit 9e381e84db

View File

@ -189,6 +189,15 @@ export class Editor {
loadUniverserFromUrl(this);
// this.setPeriodicSave(5000);
// ================================================================================
// Displaying a scope by default!
// ================================================================================
this.api.scope({
enabled: true,
mode: "freqscope",
offsetY: window.innerWidth / 3.5, size: 0.80
} as OscilloscopeConfig)
}
private getBuffer(type: string): any {