Typos.
This commit is contained in:
parent
de10481a9b
commit
89da9d5417
3 changed files with 4 additions and 4 deletions
|
|
@ -10,11 +10,11 @@
|
|||
- add `Start minimized` menu option
|
||||
|
||||
- misc
|
||||
- change noFocus client option behavior: the defalt client window now doesn't take the focus at all, even when a text input is clicked.
|
||||
- change noFocus client option behavior: the default client window now doesn't take the focus at all, even when a text input is clicked.
|
||||
- colorize debug messages for sent and received osc/midi messages
|
||||
|
||||
- scripting
|
||||
- add `setFocusable()` function to change the focusability of the window on the fly (allows reenabling focus temporarely to interact with a text widget using a dedicated toggle button for example)
|
||||
- add `setFocusable()` function to change the focusability of the window on the fly (allows reenabling focus temporarily to interact with a text widget using a dedicated toggle button for example)
|
||||
- add `reload()` function
|
||||
- expose Navigator object with `getNavigator()`
|
||||
|
||||
|
|
|
|||
|
|
@ -100,7 +100,7 @@
|
|||
| <h6 id="button_off">off<sup><i class="fas fa-bolt" title="dynamic"></i></sup><a class="headerlink" href="#button_off" title="Permanent link">#</a></h6> | `*` | <code>0</code> | Set to `null` to send send no argument in the osc message. Must be different from `on`. Ignored if `mode` is `momentary` or `tap`. |
|
||||
| <h6 id="button_mode">mode<a class="headerlink" href="#button_mode" title="Permanent link">#</a></h6> | `string` | <code>"toggle"</code> | Interaction mode:<br/>- `toggle` (classic on/off switch)<br/>- `push` (press & release)<br/>- `momentary` (no release, no value sent with the address)<br/>- `tap` (no release, sends `on` as value)<br/><br/>Choices: `toggle`, `push`, `momentary`, `tap` |
|
||||
| <h6 id="button_doubleTap">doubleTap<a class="headerlink" href="#button_doubleTap" title="Permanent link">#</a></h6> | `boolean` | <code>false</code> | Set to `true` to make the button require a double tap to be pushed instead of a single tap |
|
||||
| <h6 id="button_decoupled">decoupled<a class="headerlink" href="#button_decoupled" title="Permanent link">#</a></h6> | `boolean` | <code>false</code> | Set to `true` make the local feedback update only when it receives a value from an osc/midi message that matches the `on` or `off` property.<br/><br/>When `decoupled`, the button's value is ambiguous: when intercated with, it will send the value that's requested (`on` or `off` for `toggle` and `push` modes, `on` for `tap` mode, `null` for `momentary`), otherwise it will return the value received from the feedback message (`on` or `off` property).<br/>- `decoupled (toggle mode that only updates its state when it receives a value from an osc/midi message*)`<br/><br/>From a script property, feedback messages can be simulated with:<br/><br/>`set("widget_id", value, {external: true})` |
|
||||
| <h6 id="button_decoupled">decoupled<a class="headerlink" href="#button_decoupled" title="Permanent link">#</a></h6> | `boolean` | <code>false</code> | Set to `true` make the local feedback update only when it receives a value from an osc/midi message that matches the `on` or `off` property.<br/><br/>When `decoupled`, the button's value is ambiguous: when interacted with, it will send the value that's requested (`on` or `off` for `toggle` and `push` modes, `on` for `tap` mode, `null` for `momentary`), otherwise it will return the value received from the feedback message (`on` or `off` property).<br/>- `decoupled (toggle mode that only updates its state when it receives a value from an osc/midi message*)`<br/><br/>From a script property, feedback messages can be simulated with:<br/><br/>`set("widget_id", value, {external: true})` |
|
||||
|
||||
=== "scripting"
|
||||
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@ class Button extends Widget {
|
|||
doubleTap: {type: 'boolean', value: false, help: 'Set to `true` to make the button require a double tap to be pushed instead of a single tap'},
|
||||
decoupled: {type: 'boolean', value: false, help: [
|
||||
'Set to `true` make the local feedback update only when it receives a value from an osc/midi message that matches the `on` or `off` property.',
|
||||
'When `decoupled`, the button\'s value is ambiguous: when intercated with, it will send the value that\'s requested (`on` or `off` for `toggle` and `push` modes, `on` for `tap` mode, `null` for `momentary`), otherwise it will return the value received from the feedback message (`on` or `off` property).',
|
||||
'When `decoupled`, the button\'s value is ambiguous: when interacted with, it will send the value that\'s requested (`on` or `off` for `toggle` and `push` modes, `on` for `tap` mode, `null` for `momentary`), otherwise it will return the value received from the feedback message (`on` or `off` property).',
|
||||
'- `decoupled (toggle mode that only updates its state when it receives a value from an osc/midi message*)`',
|
||||
'From a script property, feedback messages can be simulated with:',
|
||||
'`set("widget_id", value, {external: true})`'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue