aboutsummaryrefslogtreecommitdiff
path: root/src/client/views
diff options
context:
space:
mode:
authorBob Zeleznik <zzzman@gmail.com>2019-04-25 01:38:42 -0400
committerBob Zeleznik <zzzman@gmail.com>2019-04-25 01:38:42 -0400
commit0e27df3127c91a7d48ef05c7075c7d26aca2bd7f (patch)
tree3128764591135ab1d7f72a9820e749e2ba62b08f /src/client/views
parent575d8b339cdf74cdcb8d46dcd6e627aec2dda636 (diff)
fixed re-clicking inside text and resizing text with focus
Diffstat (limited to 'src/client/views')
-rw-r--r--src/client/views/DocumentDecorations.tsx1
-rw-r--r--src/client/views/nodes/FormattedTextBox.scss3
2 files changed, 3 insertions, 1 deletions
diff --git a/src/client/views/DocumentDecorations.tsx b/src/client/views/DocumentDecorations.tsx
index 9995c1c3f..06d2f580c 100644
--- a/src/client/views/DocumentDecorations.tsx
+++ b/src/client/views/DocumentDecorations.tsx
@@ -437,6 +437,7 @@ export class DocumentDecorations extends React.Component<{}, { value: string }>
e.stopPropagation();
this._resizing = "";
this.Interacting = false;
+ SelectionManager.ReselectAll();
if (e.button === 0) {
e.preventDefault();
this._isPointerDown = false;
diff --git a/src/client/views/nodes/FormattedTextBox.scss b/src/client/views/nodes/FormattedTextBox.scss
index 59857bab3..5eb2bf7ce 100644
--- a/src/client/views/nodes/FormattedTextBox.scss
+++ b/src/client/views/nodes/FormattedTextBox.scss
@@ -22,10 +22,11 @@
overflow-x: hidden;
color: initial;
height: 100%;
- pointer-events: none;
+ pointer-events: all;
}
.formattedTextBox-cont-hidden {
overflow: hidden;
+ pointer-events: none;
}
.menuicon {