Closed Billiam closed 2 years ago
This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.
🔍 Inspect: https://vercel.com/zalo/cascade-studio/BhMbAHzNjDn8TKUYGJDbAtGLC8Up
✅ Preview: https://cascade-studio-git-fork-billiam-feature-tweakpane-zalo.vercel.app
Tweakpane is a pretty complete replacement for controlkit, and appears to be receiving regular updates.
Notably, this fixes the issue mentioned in #61, where typing values into slider fields is almost impossible.
I also added
TextInput
andList
ui elements.Tweakpane also supports 2d and 3d point input types that looked useful, but I wasn't sure what interface for them would be appropriate in CascadeStudio.
This PR looks larger than it actually is because of the node_modules vendoring. 7fd5be1..4f43c3 is the main bit.
ac2a154265284c6ccc68a31af62059a4c7d22ef8 isn't necessary, but adds a visual separator between the default UI and any controls added by a user. I think it looks nice.
It can be styled to better match controlkit if that's desirable.
Example with new elements