Unify Derivation and Prism 7/n

This commit is contained in:
Aria Minaei 2022-12-01 14:41:46 +01:00
parent 859cb40e0f
commit acf34d393d
25 changed files with 134 additions and 141 deletions

View file

@ -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) => {