diff --git a/CHANGELOG.md b/CHANGELOG.md index d5315326..924f36b8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,9 +13,12 @@ Sessions saved with this version will not be readable with older versions (old s - panel: added full osc support (for sending/receiving tab changes) - modal: changed style to fit popups' appearance; added `popupWidth` and `popupHeight` options; :warning: removed `tabs` option; added full osc support - strip: refactored widget using `panel` as base; added `stretch` and `spacing` option; now it's really cool - - encoder: mousewheel support + - sliders: added double tap support (resets the widget to its initial value) - knob/fader: renamed `noPip` option to `pips` (inverted behaviour; backward compatible) + - encoder: mousewheel support - knob: compact design remake +- bug fixes + - sliders: fixed `spring` when `value` equals `0` - session - the root panel is now saved as a special `panel` widget (which means it has savable options) - custom module diff --git a/resources/docs/user-guide/interface.md b/resources/docs/user-guide/interface.md index cf1dbfdf..ad0dfc3f 100644 --- a/resources/docs/user-guide/interface.md +++ b/resources/docs/user-guide/interface.md @@ -10,6 +10,7 @@ Client specific options can be set by adding query parameters to the server's ur Supported options: - `hdpi=1`: enable high resolution canvas +- `doubletab=X`: sets the double tap/click time thershold in milliseconds (default to `375`) Example: @@ -21,6 +22,10 @@ Example: Click / Tap events are handled at pressing time, not releasing. +### Double Click / Tap + +Some widgets handle double click / tap events. + ### Right-click / Long touch Widgets that have only one value input will give focus to it when receiving this event. When the editor is enabled, Right-click / Long touch spawns the editor's context menu. @@ -56,11 +61,12 @@ By default, widget resizing / dragging snaps to a 10 pixel wide grid. Its width Right clicking / long touch on a widget or on a tab will also display a context menu providing useful utilities : -- `copy`: copy widget's data -- `cut`: copy widget's data and delete selected widget -- `paste`: paste copied widget in selected container +- `Edit parent`: selects the widget's parent for edition +- `Copy`: copy widget's data +- `Cut`: copy widget's data and delete selected widget +- `Paste`: paste copied widget in selected container - `n+1` : increments the id of the copied widget (and all its children) before pasting - - `clone` : paste the exact same widget + - `Clone` : paste the exact same widget - `Add widget`: create a new widget in selected container - `Add tab`: create a new tab in selected container - `Delete`: delete selected tab or widget diff --git a/resources/docs/user-guide/widgets-properties.md b/resources/docs/user-guide/widgets-properties.md index 41bdd9a7..825f9c92 100644 --- a/resources/docs/user-guide/widgets-properties.md +++ b/resources/docs/user-guide/widgets-properties.md @@ -32,6 +32,8 @@ It can be used to: If the retreived property is an object (`[] / {}`), it can be used as is or one can retreive a specfic item from it: `@{parent.variables.0}` will try to return the first item of the parent's `variables` property. +Note: the root panel's `id` is `root`. + ---- ### Basics diff --git a/resources/docs/user-guide/widgets-specifics/pads.md b/resources/docs/user-guide/widgets-specifics/pads.md index cd7b1568..6b79ef74 100644 --- a/resources/docs/user-guide/widgets-specifics/pads.md +++ b/resources/docs/user-guide/widgets-specifics/pads.md @@ -6,6 +6,8 @@ Pads are multidimensional widgets that output multiple values. ## XY +Xy reset to their initial value when receiving double tap / click events. + ```js { type:'xy', diff --git a/resources/docs/user-guide/widgets-specifics/sliders.md b/resources/docs/user-guide/widgets-specifics/sliders.md index ec1a24d1..28a31836 100644 --- a/resources/docs/user-guide/widgets-specifics/sliders.md +++ b/resources/docs/user-guide/widgets-specifics/sliders.md @@ -1,6 +1,6 @@ # Sliders -Sliders are unidimensional widgets that output one value at a time. +Sliders are unidimensional widgets that output one value at a time. They reset to their initial value when receiving double tap / click events. ----