simplify tilt calculations
This commit is contained in:
@@ -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[]) => {
|
||||
|
||||
Reference in New Issue
Block a user