Commit e1a1be6
committed
Fix renderer.pick() miss return value
We were expecting null but Scratch returns false, TW returns -1 (what Scratch's comments say it should)
Let's handle both to ensure maximum compatibility.1 parent 7c27d18 commit e1a1be6
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
137 | | - | |
| 137 | + | |
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
| |||
0 commit comments