ensnare-org / ensnare-v1

A library for generating digital audio.
https://ensnare.me
Other
2 stars 1 forks source link

Let EntityFactory hide some types #5

Closed sowbug closed 4 months ago

sowbug commented 9 months ago

Right now, everything EntityFactory knows how to create is also listed on the left sidebar in the palette. I don't want to let people drag things like Transports into the device bin, so I'm manually creating those kinds of devices. And of course I'm forgetting to set the Uid.

I think these problems go away if I give EntityFactory a way to tell special from regular. Maybe a parameter for the registration method, and then it does a filter when someone asks for the user-visible list.

sowbug commented 4 months ago

YAGNI. I'm doing OK with manual registration.