There was an error while loading. Please reload this page.
1 parent f9f49cb commit 5c9ab46Copy full SHA for 5c9ab46
1 file changed
addon/box-shadow.ts
@@ -3,7 +3,7 @@ import { Tween } from '.';
3
import linear from './easings/linear';
4
import './element-remove';
5
6
-const innerPattern = /^ (\d+)px (\d+)px(?: (\d+)px)?(?: (\d+)px)?( inset)?(?:, )?/;
+const innerPattern = /^ (-?\d+)px (-?\d+)px(?: (\d+)px)?(?: (-?\d+)px)?( inset)?(?:, )?/;
7
8
export class BoxShadow {
9
static fromComputedStyle(string: string) {
0 commit comments