[skip ci] Remove temporary size hacks

This commit is contained in:
Mark Tolmacs 2025-04-07 13:06:18 +02:00
parent cc01e16e52
commit 44df764a88
4 changed files with 9 additions and 167 deletions

View file

@ -195,11 +195,6 @@ export const getEllipseShape = <Point extends GlobalPoint | LocalPoint>(
};
export const getCurvePathOps = (shape: Drawable): Op[] => {
// NOTE (mtolmacs): Temporary fix for extremely large elements
if (!shape) {
return [];
}
for (const set of shape.sets) {
if (set.type === "path") {
return set.ops;