implement cps + add baasic tempo control ui
This commit is contained in:
parent
cfe369d9fe
commit
ead5942ef0
5 changed files with 49 additions and 21 deletions
|
|
@ -242,6 +242,7 @@ export function Repl({ embedded = false }) {
|
|||
}
|
||||
};
|
||||
const context = {
|
||||
scheduler,
|
||||
embedded,
|
||||
started,
|
||||
pending,
|
||||
|
|
@ -273,7 +274,10 @@ export function Repl({ embedded = false }) {
|
|||
fontSize={fontSize}
|
||||
fontFamily={fontFamily}
|
||||
onChange={handleChangeCode}
|
||||
onViewChanged={setView}
|
||||
onViewChanged={(v) => {
|
||||
setView(v);
|
||||
// window.editorView = v;
|
||||
}}
|
||||
onSelectionChange={handleSelectionChange}
|
||||
/>
|
||||
</section>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue