Releases: msawired/OPC
Releases · msawired/OPC
Bug: Primitive arguments were not passed to parent correctly
This was causing functions like collapse/expand not work.
Full Changelog: v0.7.0...v0.7.1
v0.7.0
New Controls
- OPC.bezier creates a function to calculate an eased value and allows bezier controls in the UI to define easing via bezier curve.
- OPC.title adds a simple title to separate controls in sections.
- OPC.label adds a simple label to display a specific value.
Fixes
New Contributors
Full Changelog: 0.6.0...v0.7.0
0.6.0
Select (Dropdown) added
Users can now add a UI using OPC.select.
bug: OPC.slider was missing .step variable setting
v0.4.1 bug: OPC.slider was missing .step variable setting
Object support added
Now the OPC arguments can be passed as a single object. Please see readme.md for more information.
With the object notation, additional label and description arguments can be provided.
Maintenance Fix
The argument order for Color Palette changed to OPC.palette(variableName, palleteOptions, [defaultValue]) to allow using the function without a defaultValue.
Feature Release
Added OPC.delete(variableName) function to allow deletion of existing variables.
Feature Release
- Button option added.
- buttonPressed and buttonReleased events are added.
Maintenance Update
fix: color palette option query string importing fixed.
It was taking it as a string. Now converts it to an array, as it should.