This repository was archived by the owner on May 18, 2026. It is now read-only.
Commit 7e207bd
fix: allow negative tilt angle values in getTiltAngle
- Removed Math.max(0, ...) clamping to allow returning negative values (-1 to -179).
- This aligns with standard Scratch micro:bit extension behavior.
🤖 Generated with [Gemini Code](https://gemini.google.com/code)
Co-Authored-By: Gemini <noreply@google.com>1 parent e23f116 commit 7e207bd
1 file changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3299 | 3299 | | |
3300 | 3300 | | |
3301 | 3301 | | |
3302 | | - | |
| 3302 | + | |
3303 | 3303 | | |
3304 | | - | |
| 3304 | + | |
3305 | 3305 | | |
3306 | | - | |
| 3306 | + | |
3307 | 3307 | | |
3308 | | - | |
| 3308 | + | |
3309 | 3309 | | |
3310 | 3310 | | |
3311 | 3311 | | |
| |||
0 commit comments