This commit is contained in:
Preet Shihn
2020-05-26 20:50:15 -07:00
parent 4cd901716f
commit 13a375bf78
8 changed files with 506 additions and 6 deletions

View File

@@ -8,7 +8,6 @@ export function ensureKeyframes() {
}
}
`;
console.log('keyframe added');
document.head.appendChild(style);
}
}

View File

@@ -1,6 +1,6 @@
export const SVG_NS = 'http://www.w3.org/2000/svg';
export const DEFAULT_ANIMATION_DURATION = 1000;
export const DEFAULT_ANIMATION_DURATION = 800;
export interface Rect {
x: number;

View File

@@ -206,5 +206,5 @@ export function annotationGroup(annotations: RoughAnnotation[]): RoughAnnotation
a.hide();
}
}
}
};
}