@lightningtv/solid
Advanced tools
Comparing version 1.1.1 to 1.1.2
@@ -148,3 +148,3 @@ import { activeElement, isFunc, isArray, } from '@lightningtv/solid'; | ||
} | ||
keyHoldTimeouts[key] = setTimeout(() => keyHoldCallback(keypress, mappedKeyHoldEvent), delay); | ||
keyHoldTimeouts[key] = window.setTimeout(() => keyHoldCallback(keypress, mappedKeyHoldEvent), delay); | ||
} | ||
@@ -151,0 +151,0 @@ } |
@@ -5,5 +5,1 @@ /** | ||
export declare function hexColor(color?: string | number): number; | ||
/** | ||
* Converts degrees to radians | ||
*/ | ||
export declare function deg2rad(deg: number): number; |
@@ -21,8 +21,2 @@ import { isInteger } from '@lightningtv/core'; | ||
} | ||
/** | ||
* Converts degrees to radians | ||
*/ | ||
export function deg2rad(deg) { | ||
return (deg * Math.PI) / 180; | ||
} | ||
//# sourceMappingURL=utils.js.map |
{ | ||
"name": "@lightningtv/solid", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"description": "Lightning Renderer for Solid Universal", | ||
@@ -5,0 +5,0 @@ "type": "module", |
@@ -308,3 +308,3 @@ import { | ||
} | ||
keyHoldTimeouts[key] = setTimeout( | ||
keyHoldTimeouts[key] = window.setTimeout( | ||
() => keyHoldCallback(keypress, mappedKeyHoldEvent), | ||
@@ -311,0 +311,0 @@ delay, |
@@ -27,8 +27,1 @@ import { isInteger } from '@lightningtv/core'; | ||
} | ||
/** | ||
* Converts degrees to radians | ||
*/ | ||
export function deg2rad(deg: number) { | ||
return (deg * Math.PI) / 180; | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
165837
2150