simplify tilt calculations

This commit is contained in:
Gavin McDonald
2025-07-04 13:59:57 -04:00
parent d3eb6f1b46
commit c6e316a1f8
8 changed files with 91 additions and 84 deletions

View File

@@ -1,4 +1,4 @@
export default function throttle(func: Function, threshold: number) {
export function throttle(func: Function, threshold: number) {
let lastCall = 0;
return (...args: any[]) => {