Unify Derivation and Prism 7/n
This commit is contained in:
parent
859cb40e0f
commit
acf34d393d
25 changed files with 134 additions and 141 deletions
|
@ -31,7 +31,7 @@ studio.extend({
|
|||
const untapFn = prism<ToolsetConfig>(() => [
|
||||
{
|
||||
type: 'Switch',
|
||||
value: val(exampleBox.derivation),
|
||||
value: val(exampleBox.prism),
|
||||
onChange: (value) => exampleBox.set(value),
|
||||
options: [
|
||||
{
|
||||
|
@ -55,7 +55,7 @@ studio.extend({
|
|||
},
|
||||
},
|
||||
])
|
||||
// listen to changes to this derivation using the requestAnimationFrame shared ticker
|
||||
// listen to changes to this prism using the requestAnimationFrame shared ticker
|
||||
.onChange(
|
||||
Ticker.raf,
|
||||
(value) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue