aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/DocumentDecorations.tsx
diff options
context:
space:
mode:
authorBob Zeleznik <zzzman@gmail.com>2020-04-02 17:24:19 -0400
committerBob Zeleznik <zzzman@gmail.com>2020-04-02 17:24:19 -0400
commitbb351bcf0a56be9708c6c833c8023300e26223c1 (patch)
tree86be6bc9cf307769198057b3b97153d80b923197 /src/client/views/DocumentDecorations.tsx
parent6596e9aa8a23abe6f126e9cada5e3e8b8545884f (diff)
added copy with alt+ctrl . fixed border radius
Diffstat (limited to 'src/client/views/DocumentDecorations.tsx')
-rw-r--r--src/client/views/DocumentDecorations.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/DocumentDecorations.tsx b/src/client/views/DocumentDecorations.tsx
index 3e07fd109..79600b7c1 100644
--- a/src/client/views/DocumentDecorations.tsx
+++ b/src/client/views/DocumentDecorations.tsx
@@ -266,7 +266,7 @@ export class DocumentDecorations extends React.Component<{}, { value: string }>
let dist = Math.sqrt((e.clientX - down[0]) * (e.clientX - down[0]) + (e.clientY - down[1]) * (e.clientY - down[1]));
dist = dist < 3 ? 0 : dist;
SelectionManager.SelectedDocuments().map(dv => dv.props.Document).map(doc => doc.layout instanceof Doc ? doc.layout : doc.isTemplateForField ? doc : Doc.GetProto(doc)).
- map(d => d.borderRounding = `${Math.max(0, dist)}%`);
+ map(d => d.borderRounding = `${Math.max(0, dist)}px`);
return false;
}