aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/DocumentView.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2021-04-20 14:13:56 -0400
committerbobzel <zzzman@gmail.com>2021-04-20 14:13:56 -0400
commit45a43e9f0417d6929a6f351fea0cf97fe11b0ef0 (patch)
tree3487a550b44879b90a193ed02b2f9870a769a68d /src/client/views/nodes/DocumentView.tsx
parent484ec015ff061d78d6ae9a7ec474d83315aaaebb (diff)
fixed toggling out of comic mode.
Diffstat (limited to 'src/client/views/nodes/DocumentView.tsx')
-rw-r--r--src/client/views/nodes/DocumentView.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/DocumentView.tsx b/src/client/views/nodes/DocumentView.tsx
index 903ce3acb..7f6905042 100644
--- a/src/client/views/nodes/DocumentView.tsx
+++ b/src/client/views/nodes/DocumentView.tsx
@@ -995,7 +995,7 @@ 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: borderPath.path ? `path('${borderPath.path}')` : undefined
}}>
{!borderPath.path ? internal :
<>