mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-13 10:06:33 +01:00
WS: Add strip labels in the mixer demo
Plus some minor widget code and layout improvements
This commit is contained in:
parent
63a117bf93
commit
43c1929b7d
2 changed files with 2 additions and 4 deletions
|
|
@ -19,13 +19,10 @@
|
|||
import loadToolkit from './tkloader.js';
|
||||
import { BaseWidget, BaseContainer, BaseDialog, BaseControl } from './widget.js';
|
||||
|
||||
let _tkRoot = null;
|
||||
|
||||
export async function createRootContainer () {
|
||||
await loadToolkit();
|
||||
_tkRoot = new TK.Root({id: 'root'});
|
||||
const root = new Container();
|
||||
root.tk = _tkRoot;
|
||||
root.tk = new TK.Root({id: 'root'});
|
||||
document.body.appendChild(root.element);
|
||||
return root;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue