aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/DocumentDecorations.tsx
diff options
context:
space:
mode:
authorBob Zeleznik <zzzman@gmail.com>2020-05-11 14:59:54 -0400
committerBob Zeleznik <zzzman@gmail.com>2020-05-11 14:59:54 -0400
commita3839d4b5a2180e2e80fa79f6eb4459e2976f380 (patch)
tree0bea3044ef5ff0d391aeef7606e05ccf5559de28 /src/client/views/DocumentDecorations.tsx
parent56161b9541a8232fca11e69ffb1bf22864a941a1 (diff)
changed Cors behavior for WebBox(On for everything except GoogldDocs). Update Freeze to work for ctrl-resizing text, and showing full screen. reorged context menus.
Diffstat (limited to 'src/client/views/DocumentDecorations.tsx')
-rw-r--r--src/client/views/DocumentDecorations.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/views/DocumentDecorations.tsx b/src/client/views/DocumentDecorations.tsx
index 1054822c7..9669c21a9 100644
--- a/src/client/views/DocumentDecorations.tsx
+++ b/src/client/views/DocumentDecorations.tsx
@@ -301,6 +301,7 @@ export class DocumentDecorations extends React.Component<{}, { value: string }>
}
SelectionManager.SelectedDocuments().forEach(action((element: DocumentView) => {
+ if (e.ctrlKey && !element.props.Document._nativeHeight) element.toggleNativeDimensions();
if (dX !== 0 || dY !== 0 || dW !== 0 || dH !== 0) {
const doc = Document(element.rootDoc);
let nwidth = doc._nativeWidth || 0;