aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/DocumentView.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2021-04-20 10:25:25 -0400
committerbobzel <zzzman@gmail.com>2021-04-20 10:25:25 -0400
commitf716a679d8abad1c26088cf5f8795cb745da18b0 (patch)
tree783213b4df4d98fdb53b0d59fc39d716728fae4b /src/client/views/nodes/DocumentView.tsx
parent0e9a512020c145a11357aac8573dd6cb24197748 (diff)
added a possible border for comic mode but commented out.
Diffstat (limited to 'src/client/views/nodes/DocumentView.tsx')
-rw-r--r--src/client/views/nodes/DocumentView.tsx7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/client/views/nodes/DocumentView.tsx b/src/client/views/nodes/DocumentView.tsx
index 810868c75..903ce3acb 100644
--- a/src/client/views/nodes/DocumentView.tsx
+++ b/src/client/views/nodes/DocumentView.tsx
@@ -995,12 +995,15 @@ export class DocumentViewInternal extends DocComponent<DocumentViewInternalProps
outline: highlighting && !this.borderRounding ? `${highlightColor} ${highlightStyle} ${highlightIndex}px` : "solid 0px",
border: highlighting && this.borderRounding && highlightStyle === "dashed" ? `${highlightStyle} ${highlightColor} ${highlightIndex}px` : undefined,
boxShadow,
- clipPath: `path('${borderPath.path}')`,
+ clipPath: `path('${borderPath.path}')`
}}>
{!borderPath.path ? internal :
<>
+ {/* <div style={{ clipPath: `path('${borderPath.fill}')` }}>
+ {internal}
+ </div> */}
{internal}
- <div key="border" className="documentView-customBorder" style={{ pointerEvents: "none" }} >
+ <div key="border2" className="documentView-customBorder" style={{ pointerEvents: "none" }} >
<svg style={{ overflow: "visible" }} viewBox={`0 0 ${this.props.PanelWidth()} ${this.props.PanelHeight()}`}>
<path d={borderPath.path} style={{ stroke: "black", fill: "transparent", strokeWidth: borderPath.width }} />
</svg>