aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/DocumentView.tsx
diff options
context:
space:
mode:
authorBob Zeleznik <zzzman@gmail.com>2019-04-25 09:15:22 -0400
committerBob Zeleznik <zzzman@gmail.com>2019-04-25 09:15:22 -0400
commit6a62e0a16abc3bbadfb179750463e3d361f1c759 (patch)
treeb4df122ee280cba5141e4d97d58c3c5678c7a1ac /src/client/views/nodes/DocumentView.tsx
parent0e27df3127c91a7d48ef05c7075c7d26aca2bd7f (diff)
silly me - borderRadius can be inherited
Diffstat (limited to 'src/client/views/nodes/DocumentView.tsx')
-rw-r--r--src/client/views/nodes/DocumentView.tsx3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/client/views/nodes/DocumentView.tsx b/src/client/views/nodes/DocumentView.tsx
index ddf99c109..cec6e6468 100644
--- a/src/client/views/nodes/DocumentView.tsx
+++ b/src/client/views/nodes/DocumentView.tsx
@@ -41,7 +41,6 @@ export interface DocumentViewProps {
parentActive: () => boolean;
whenActiveChanged: (isActive: boolean) => void;
toggleMinimized: () => void;
- borderRounding: () => number;
}
export interface JsxArgs extends DocumentViewProps {
Keys: { [name: string]: Key };
@@ -278,7 +277,7 @@ export class DocumentView extends React.Component<DocumentViewProps> {
<div className={`documentView-node${this.props.isTopMost ? "-topmost" : ""}`}
ref={this._mainCont}
style={{
- borderRadius: `${this.props.borderRounding()}px`,
+ borderRadius: "inherit",
background: this.props.Document.GetText(KeyStore.BackgroundColor, ""),
width: nativeWidth, height: nativeHeight,
transform: `scale(${scaling}, ${scaling})`