panel: expose scroll position in value if it contains widgets and scroll is true
This commit is contained in:
parent
3fee5367ad
commit
f6f56398e3
4 changed files with 89 additions and 46 deletions
|
|
@ -234,7 +234,11 @@ Gives focus to a widget (ie input widget).
|
|||
#### `getScroll(id)`
|
||||
- `id`: widget `id` as a string.
|
||||
|
||||
Returns the scroll state of a container as a `[x, y]` array.
|
||||
Returns the scroll position of a container as a `[x, y]` array.
|
||||
|
||||
**Deprecated**
|
||||
|
||||
Scrollable panels expose their scroll position normalized between 0 and 1 with their value.
|
||||
|
||||
----
|
||||
|
||||
|
|
@ -245,6 +249,10 @@ Returns the scroll state of a container as a `[x, y]` array.
|
|||
|
||||
Sets the scroll state of a container.
|
||||
|
||||
**Deprecated**
|
||||
|
||||
Scrollable panels expose their scroll position normalized between 0 and 1 with their value.
|
||||
|
||||
----
|
||||
|
||||
#### `toolbar(i1, i2, ...)`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue