Commit b7d3158
multi-button ui (#1081)
* multi-button ui
* fix callback type
* partial
* lint
* leave public Callback type unchanged, make new MultiCallback type
* lint + doc
* add event arg to single callback
* onInputXXX
* forgot about iaAny
* fix ternary precedence
* fix comparison
* use correct event ordering for getInputCommands()
* fix button cast
* fix doc comments
* lints
* build...
* rest of the lints
* fix tests
* fix lint
* fix initial empty pointerEvents
* update snapshot
---------
Co-authored-by: Lean Mendoza <8042536+leanmendoza@users.noreply.github.com>1 parent a99dfdf commit b7d3158
13 files changed
Lines changed: 436 additions & 216 deletions
File tree
- packages/@dcl
- ecs/src
- engine
- systems
- playground-assets/etc
- react-ecs/src
- components
- Button
- Dropdown
- Input
- Label
- listeners
- reconciler
- test/snapshots/production-bundles
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
85 | 92 | | |
86 | 93 | | |
87 | 94 | | |
| |||
294 | 301 | | |
295 | 302 | | |
296 | 303 | | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
297 | 310 | | |
298 | 311 | | |
299 | 312 | | |
300 | 313 | | |
301 | 314 | | |
302 | | - | |
| 315 | + | |
| 316 | + | |
303 | 317 | | |
304 | 318 | | |
0 commit comments