README.md in savio-0.1.2 vs README.md in savio-0.1.3
- old
+ new
@@ -55,11 +55,11 @@
| x | The x position | 0
| y | The y Position | 0
| z | The z Position | 1
| size | The scaling value | 10
| enabled | If the object can be interacted with by the user | true
-| displayName | The name of the object | "Default"
+| displayName | The name of the object | ""
| draggingEnabled | If the object itself can be moved around the window | false
| dragType | "move" or "duplicate" If draggingEnabled is true, this is what happens when it drags | "move"
| shown | If the object is shown or not | true
### Example:
@@ -84,10 +84,11 @@
|--|--|--|
|length | How long the slider is | 100
|min | The minimum value of the slider | 0
|max | The maximum value of the slider | 100
|value| The value of the slider | Random between min and max
+|style|'knob' or 'fill' changes the style the slider is shown with|'knob' |
|showValue| If the value label should be shown| true
|labelColor| The color of the labels| '#F5F5F5'
|sliderColor| Color of the slider line | '#757575'
|knobColor| Color of the sliders knob | '#5BB36A'
@@ -218,11 +219,13 @@
|selected | Whether it is currently focused | false
|value | The current text input in the field | **@displayName**
|displayName | The value shown in the text field when nothing is in it. AKA the default value. if a value was specified, this will be overwritten with it. | **@value** or "Default"
|length| The length of the text box | **@size** * 10
|width| The width of the text box| **@size** * 1.2
-|color| The color of the box when not focused| 'gray'
-|activeColor|The color of the box when focused | 'green'
+|color| The color of the box when not focused| '#F5F5F5'
+|activeColor|The color of the box when focused | '#5BB36A'
+|activeTextColor| The color of the text when focused | '#F5F5F5'
+|inactiveTextColor| The color of the text when not focused | '#757575'
### Example:
askMeAnything = InputBox.new(
x: 830, y: 180, size: 30,