Merge pull request #791 from erictheise/typos-docs
docs: a few typos fixed, fewer grammatical (English) cleanups.
This commit is contained in:
commit
e21a252eb8
5 changed files with 13 additions and 13 deletions
16
CHANGELOG.md
16
CHANGELOG.md
|
|
@ -36,7 +36,7 @@
|
|||
## 1.16.4
|
||||
|
||||
- bug fixes
|
||||
- modal: display issue when a modal receives the same value mutliple times
|
||||
- modal: display issue when a modal receives the same value multiple times
|
||||
- patchbay: `outputs` property not handling object value properly
|
||||
- server: resolution conflict between app files and user files
|
||||
|
||||
|
|
@ -108,7 +108,7 @@
|
|||
## 1.15.5
|
||||
|
||||
- bug fixes
|
||||
- matrix: avanced property issue in`props` property (bis)
|
||||
- matrix: advanced property issue in `props` property (bis)
|
||||
|
||||
- editor
|
||||
- inspector: add solo mode with `alt+click` for category panels
|
||||
|
|
@ -116,7 +116,7 @@
|
|||
## 1.15.4
|
||||
|
||||
- bug fixes
|
||||
- matrix: avanced property issue in`props` property
|
||||
- matrix: advanced property issue in `props` property
|
||||
|
||||
## 1.15.3
|
||||
|
||||
|
|
@ -196,7 +196,7 @@
|
|||
- button: `locals.touchCoords` not updated since v1.14.0
|
||||
|
||||
- widgets
|
||||
- clone/fragment: remove scripting properties as they are supposed to bo overriden in `props`
|
||||
- clone/fragment: remove scripting properties as they are supposed to be overridden in `props`
|
||||
|
||||
## 1.14.2
|
||||
|
||||
|
|
@ -209,7 +209,7 @@
|
|||
- bug fixes
|
||||
- misc: sending typed arguments (`{type, value}` objects) should override the widget's `typeTags` definition
|
||||
- multixy: errors when `ephemeral` is `true`
|
||||
- scripting: `setVar` not affecting all widgets when mutliple widgets match provided id
|
||||
- scripting: `setVar` not affecting all widgets when multiple widgets match provided id
|
||||
|
||||
- widgets
|
||||
- renamed `script` property to `onValue`, `draw` to `onDraw`, `touch` to `onTouch`
|
||||
|
|
@ -234,7 +234,7 @@
|
|||
|
||||
- widgets
|
||||
- canvas: expose touch pressure (as `event.force`) in the `touch` script.
|
||||
- canvas: expose touch events for extra elements added with the `html` propery
|
||||
- canvas: expose touch events for extra elements added with the `html` property
|
||||
|
||||
## 1.13.1
|
||||
|
||||
|
|
@ -247,7 +247,7 @@
|
|||
- scripting: `storage.getItem()` not returning anything
|
||||
|
||||
- editor
|
||||
- new code editor for `script`, `touch`, `draw` and `props` properties with syntax hilighting, line numbers, etc
|
||||
- new code editor for `script`, `touch`, `draw` and `props` properties with syntax highlighting, line numbers, etc
|
||||
|
||||
- scripting
|
||||
- `set()`: add an option to prevent target widget's script
|
||||
|
|
@ -262,7 +262,7 @@
|
|||
|
||||
- widgets
|
||||
- new **canvas** widget (under `pads`): allows creating custom widgets
|
||||
- button: expose normalized touch coordinates in scipts as `locals.touchCoords`
|
||||
- button: expose normalized touch coordinates in scripts as `locals.touchCoords`
|
||||
- print a warning in the console when using advanced syntaxes in the script property
|
||||
|
||||
## 1.11.1
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ Selected widget's properties are displayed and can be modified in the inspector.
|
|||
- Clicking on a property name spawns a help modal window
|
||||
- Properties are divided into multiple categories that can be toggled with a click. ++alt+"Click"++ on a category closes the other categories before toggling selected category.
|
||||
|
||||
Some properties (for example `onValue`) have a special code editor with syntax hilighting and many keyboard shortcuts (available by clicking on the "Help" button). In this properties, pressing `enter` will not submit pending changes and instead insert a new line at the cursor position (as you would expect in a regular editor). To submit pending changes, press ++ctrl+enter++ (or ++cmd+enter== on Mac) or click outside the editor.
|
||||
Some properties (for example `onValue`) have a special code editor with syntax highlighting and many keyboard shortcuts (available by clicking on the "Help" button). In these properties, pressing `enter` will not submit pending changes but instead insert a new line at the cursor position (as you would expect in a regular editor). To submit pending changes, press ++ctrl+enter++ (or ++cmd+enter== on Mac) or click outside the editor.
|
||||
|
||||
Widgets can be locked for edition by enabling their `lock` property. When locked, a widget can't be modified by the editor but it remains possible to delete it or to move it from a container to another in the project tree.
|
||||
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ This script has access to the same variables and functions as the `script` prope
|
|||
- `targetTagName`: tag name of the html element under the pointer
|
||||
- `offsetX`, `offsetY`: touch coordinates in pixels, relative to the html element under the pointer
|
||||
- `movementX`, `movementY`: movement of the pointer in pixels since the last event
|
||||
- `pointerId`: unique identifier used to differenciate fingers in multitouch situation
|
||||
- `pointerId`: unique identifier used to differentiate fingers in multitouch situation
|
||||
- `altKey`, `ctrlKey`, `shiftKey`: keyboard modifier states
|
||||
- `force`: amount of pressure applied to the touch surface between `0` and `1` (see [Touch.force](https://developer.mozilla.org/en-US/docs/Web/API/Touch/force)). Equals `0` if the API is not supported or if no pressure information is found.
|
||||
- `radiusX`, `radiusY`, `rotationAngle`: see [Touch.rotationAngle](https://developer.mozilla.org/en-US/docs/Web/API/Touch/rotationAngle)
|
||||
|
|
|
|||
|
|
@ -848,7 +848,7 @@
|
|||
| <h6 id="knob_onTouch">onTouch<a class="headerlink" href="#knob_onTouch" title="Permanent link">#</a></h6> | `script` | <code>""</code> | Script executed when the widget is touched and released. See <a href="https://openstagecontrol.ammd.net/docs/widgets/scripting/">documentation</a>. |
|
||||
|
||||
??? api "<div id="encoder">encoder<a class="headerlink" href="#encoder" title="Permanent link">#</a></div>"
|
||||
A knob that sends a relative direction infomation instead of an absolute value.
|
||||
A knob that sends relative direction information instead of an absolute value.
|
||||
|
||||
=== "style"
|
||||
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ This script is called when the widget's value updates and when it receives a val
|
|||
|
||||
The following variables are available in this context:
|
||||
|
||||
- `id` (`string`): id of the widget that's reponsible for the value update
|
||||
- `id` (`string`): id of the widget that's responsible for the value update
|
||||
- `value`: widget's value
|
||||
- `touch`: see [Touch state](#touch-state)
|
||||
|
||||
|
|
@ -114,7 +114,7 @@ The following variables and functions are accessible in this context.
|
|||
- `platform`: operating system as seen by the client
|
||||
- `session`: session file path
|
||||
- `clipboard`: instance of navigator [Clipboard](https://developer.mozilla.org/en-US/docs/Web/API/Clipboard)
|
||||
- `Image`: javavscript's [Image](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/Image) constructor
|
||||
- `Image`: javascript's [Image](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/Image) constructor
|
||||
|
||||
|
||||
!!! note "this"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue