Commit 2c4096c
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 4a3e83d commit 2c4096c
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
149 | | - | |
| 149 | + | |
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
| |||
0 commit comments