Fix for #741; documentation typos.
This commit is contained in:
parent
a5ce37e51f
commit
81427b4e3d
10 changed files with 29 additions and 29 deletions
|
|
@ -39,4 +39,4 @@ Discourse provides the community forum.
|
|||
<img src="/img/sponsors/browserstack.png" width="140px"/>
|
||||
</a>
|
||||
|
||||
BrowserStack provides remote browsers for debbuging.
|
||||
BrowserStack provides remote browsers for debugging.
|
||||
|
|
|
|||
|
|
@ -74,7 +74,7 @@ Send osc/midi message to connected clients. `host` and `port` can be specified t
|
|||
- `port` (optional): `integer` port number or `string` midi device name
|
||||
- `address`: osc address
|
||||
- `args`: value or `{type: "OSC_TYPE_LETTER", value: VALUE}` `object` (objects that don't match this format will simply be turned to a JSON string).
|
||||
- `options` (optional): set to `{clientId: id}` to define which client receives the message (where `id` is the client's id as retreived from `app` events or `oscOutFilter`)
|
||||
- `options` (optional): set to `{clientId: id}` to define which client receives the message (where `id` is the client's id as retrieved from `app` events or `oscOutFilter`)
|
||||
|
||||
----
|
||||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
## Browser inspector
|
||||
|
||||
|
||||
Hit ++f12++ to open the developers tools panel. The html/css inspector helps retreiving the class names needed to style specific parts of the widgets: hit ++ctrl+shift+c++ or click on the inspect icon () and click on a element in the interface to reveal its html code.
|
||||
Hit ++f12++ to open the developers tools panel. The html/css inspector helps retrieving the class names needed to style specific parts of the widgets: hit ++ctrl+shift+c++ or click on the inspect icon () and click on a element in the interface to reveal its html code.
|
||||
|
||||
|
||||
## Inline syntax
|
||||
|
|
@ -87,6 +87,6 @@ Media queries can also be used:
|
|||
|
||||
## CSS variables
|
||||
|
||||
[CSS variables](https://developer.mozilla.org/en-US/docs/Web/CSS/Using_CSS_custom_properties) declared in the [default theme](https://github.com/jean-emmanuel/open-stage-control/blob/master/src/scss/themes/default.scss) can be overriden.
|
||||
[CSS variables](https://developer.mozilla.org/en-US/docs/Web/CSS/Using_CSS_custom_properties) declared in the [default theme](https://github.com/jean-emmanuel/open-stage-control/blob/master/src/scss/themes/default.scss) can be overridden.
|
||||
|
||||
Widgets also rely on CSS variables for the style properties (colors, padding, etc). These are documented in the widgets' `css` property description.
|
||||
|
|
|
|||
|
|
@ -56,7 +56,7 @@
|
|||
The server's `midi` option accepts the following parameters, separated by spaces.
|
||||
|
||||
!!! warning ""
|
||||
If an option contains space characters, it must be enquoted.
|
||||
If an option contains space characters, it must be quoted.
|
||||
|
||||
**`list`**
|
||||
|
||||
|
|
@ -64,7 +64,7 @@ Print the available MIDI ports to the console when the server starts. This actio
|
|||
|
||||
**`device_name:input,output`**
|
||||
|
||||
Create a virtual MIDI device that will translate OSC messsages to MIDI messages
|
||||
Create a virtual MIDI device that will translate OSC messages to MIDI messages
|
||||
|
||||
- `device_name` is an arbitrary identifier that can be used as a target by widgets (see [Widget setup](#widget-setup)). It doesn't have to match any device's real name.
|
||||
- `input` / `output` can be port numbers or strings (as reported by the `list` action). If a string is specified, the first port whose name contains the string will be used (comparison is case-insensitive).
|
||||
|
|
@ -98,7 +98,7 @@ Enable receiving noteOff messages with a velocity and on a different address tha
|
|||
|
||||
**`path=/path/to/python`**
|
||||
|
||||
*Only use this if you know what you are doing. This option should not be set when using the officla Linux / Windows / OSX packages.*
|
||||
*Only use this if you know what you are doing. This option should not be set when using the official Linux / Windows / OSX packages.*
|
||||
|
||||
Indicates where to find python binary in case open stage control doesn't (`Error: spawn python3 ENOENT`).
|
||||
|
||||
|
|
@ -116,7 +116,7 @@ Its `address` and `preArgs` properties must be set according to Open Stage Contr
|
|||
|
||||
## Debug
|
||||
|
||||
Enabling the server's `debug` options will print some extra informations (sent/received midi messages, midi setup informations, etc)
|
||||
Enabling the server's `debug` options will print some extra information (sent/received midi messages, midi setup information, etc)
|
||||
|
||||
## Example configuration
|
||||
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@
|
|||
- Import: import a state file from the client's filesystem
|
||||
- Export: export a state file to the client's filesystem
|
||||
- Editor
|
||||
- Enable: togggle editor's state
|
||||
- Enable: toggle editor's state
|
||||
- Grid: toggle grid
|
||||
- Project tree: toggle project tree's visibility
|
||||
- Inspector: toggle inspector's visibility
|
||||
|
|
@ -40,7 +40,7 @@ It is the main component, it contains all the widgets and takes all the availabl
|
|||
|
||||
## 4. Notifications
|
||||
|
||||
Notifications appear in the lower right corner, they are usually used to convey server status informations.
|
||||
Notifications appear in the lower right corner, they are usually used to convey server status information.
|
||||
|
||||
## 5. Modals
|
||||
|
||||
|
|
|
|||
|
|
@ -5,12 +5,12 @@
|
|||
- Start: start the server (hidden when started)
|
||||
- Stop: stop the server (hidden when stopped)
|
||||
- New window: open a new client window (hidden when stopped)
|
||||
- Load: load server configration from file
|
||||
- Load: load server configuration from file
|
||||
- Save / Save as: save server configuration to file
|
||||
- List MIDI devices: list available MIDI devices in the console
|
||||
- Console:
|
||||
- Clear: clear console
|
||||
- Autoscrell: enable/disable console autoscroll
|
||||
- Autoscroll: enable/disable console autoscroll
|
||||
- Check for update at startup: enable/disable this feature
|
||||
- Always on top: pin the launcher window above other the windows
|
||||
|
||||
|
|
@ -22,7 +22,7 @@ Each server option is displayed here. When clicking on an option's label, a shor
|
|||
|
||||
## 3. Console
|
||||
|
||||
The console diplays various informations, runtime errors and server debug messages.
|
||||
The console displays various information, runtime errors and server debug messages.
|
||||
|
||||
## Keyboard shortcuts
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
# Advanced syntaxes
|
||||
|
||||
Advanced syntaxes are special blocks of code that can be written in the widgets properties to customize the widgets and how they behave. These blocks end up replaced with the value they hold before the widgets' evualate the properties they're in.
|
||||
Advanced syntaxes are special blocks of code that can be written in the widgets properties to customize the widgets and how they behave. These blocks end up replaced with the value they hold before the widgets' evaluate the properties they're in.
|
||||
|
||||
|
||||
## Inheritance: `@{id.property}`
|
||||
|
|
@ -11,8 +11,8 @@ The inheritance syntax returns either a widget's value or one of its properties.
|
|||
- `property`: target widget's property name. If ommitted (along with the dot), the widget's value will be returned (`@{widgetId}` is the same as `@{widgetId.value}`). `value` always resolves to the target widget's current value, not its `value` property.
|
||||
|
||||
|
||||
!!! note "Unique indentifier"
|
||||
Each widget has a unique random identifier that can be retreived with the property name `uuid` (e.g. `@{this.uuid}`, `@{parent.uuid}`).
|
||||
!!! note "Unique identifier"
|
||||
Each widget has a unique random identifier that can be retrieved with the property name `uuid` (e.g. `@{this.uuid}`, `@{parent.uuid}`).
|
||||
|
||||
#### Dynamic properties
|
||||
|
||||
|
|
@ -28,7 +28,7 @@ Some properties have much cheaper update routines and can be considered as `dyna
|
|||
|
||||
#### Object properties
|
||||
|
||||
If the retreived property is an object (`{}`), a subset can be retreived directly by appending a dot and a key (array index or object key) : `@{parent.variables.key}`
|
||||
If the retrieved property is an object (`{}`), a subset can be retrieved directly by appending a dot and a key (array index or object key) : `@{parent.variables.key}`
|
||||
|
||||
|
||||
#### Nesting
|
||||
|
|
|
|||
|
|
@ -738,7 +738,7 @@
|
|||
| <h6 id="knob_origin">origin<a class="headerlink" href="#knob_origin" title="Permanent link">#</a></h6> | `number` | <code>"auto"</code> | Defines the starting point's value of the knob's gauge |
|
||||
|
||||
??? 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 a relative direction information instead of an absolute value.
|
||||
|
||||
=== "style"
|
||||
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@ The `script` property allows widgets to run [Javascript](https://developer.mozil
|
|||
|
||||
## Touch state
|
||||
|
||||
When some widgets are touched or released, a special event can be catched to trigger custom actions.
|
||||
When some widgets are touched or released, a special event can be caught to trigger custom actions.
|
||||
|
||||
If the variable `touch` is not `undefined`, this means it holds the widget's current touch state:
|
||||
|
||||
|
|
@ -69,7 +69,7 @@ if (touch !== undefined) {
|
|||
}
|
||||
```
|
||||
|
||||
To avoid unwanted script executions, touch state events will only be catched if the script contains the word `touch`.
|
||||
To avoid unwanted script executions, touch state events will only be caught if the script contains the word `touch`.
|
||||
|
||||
## Available variables
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue