scrpting: restore legacy touch state feature, deprecate it and replace with a more generic onTouch handler
This commit is contained in:
parent
d478de49f6
commit
24db0ed984
11 changed files with 147 additions and 65 deletions
|
|
@ -9,6 +9,7 @@
|
|||
- widgets
|
||||
- renamed `script` to `onValue`, `draw` to `onDraw`, `touch` to `onTouch`
|
||||
- added `onCreate` script property to all widgets
|
||||
- added `onTouch` script to widgets that supported the touch state variable in scripts (now deprecated)
|
||||
- canvas: expose additional touch event informations (`radiusX`, `radiusY`, `rotationAngle` and iOS-only `altitudeAngle`, `azimuthAngle` and `touchType`)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue