diff options
author | Nathan-SR <144961007+Nathan-SR@users.noreply.github.com> | 2024-08-29 20:04:19 -0400 |
---|---|---|
committer | Nathan-SR <144961007+Nathan-SR@users.noreply.github.com> | 2024-08-29 20:04:19 -0400 |
commit | 1d0d2a74130ca8ca45be4f0f75f8584a60491dd9 (patch) | |
tree | 8ed0ae273d938612eeb6e389c7379e3a54c59dc6 /src/client/views/StyleProvider.tsx | |
parent | 85c0b1105dbdd4037872ecfc6b921551e1939eb8 (diff) |
one template basically loaded in
Diffstat (limited to 'src/client/views/StyleProvider.tsx')
-rw-r--r-- | src/client/views/StyleProvider.tsx | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/client/views/StyleProvider.tsx b/src/client/views/StyleProvider.tsx index bb0883cc0..e7275a913 100644 --- a/src/client/views/StyleProvider.tsx +++ b/src/client/views/StyleProvider.tsx @@ -62,8 +62,6 @@ export function border(doc: Doc, pw: number, ph: number, rad: number = 0, inset: const radius = Math.min(rad, (pw - 2 * width) / 2, (ph - 2 * height) / 2); - console.log(pw, ph, rad, inset) - return ` M ${width + radius} ${height} L ${pw - width - radius} ${height} @@ -212,7 +210,6 @@ export function DefaultStyleProvider(doc: Opt<Doc>, props: Opt<FieldViewProps & //console.log(borderWidth); const ratio = borderWidth / docWidth; const borderRadius = Number(StrCast(layoutDoc?._layout_borderRounding).replace('px', '')); - console.log(StrCast(layoutDoc?._layout_borderRounding), borderRadius, typeof borderRadius) const radiusRatio = borderRadius / docWidth; const radius = radiusRatio * ((2 * borderWidth) + docWidth); |