aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/MainOverlayTextBox.tsx
diff options
context:
space:
mode:
authorbob <bcz@cs.brown.edu>2019-05-08 18:31:14 -0400
committerbob <bcz@cs.brown.edu>2019-05-08 18:31:14 -0400
commit007433dabbd6a8a5f702ac393ecd2b40b1c3a9d8 (patch)
tree05943eb5dfab3c1cce08f021e04273d0ac655c76 /src/client/views/MainOverlayTextBox.tsx
parentc67fc234cf4a524c19989134d878797563207e93 (diff)
fixes for templates including changing the relative order of CollectionOverlayView in the stack
Diffstat (limited to 'src/client/views/MainOverlayTextBox.tsx')
-rw-r--r--src/client/views/MainOverlayTextBox.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/views/MainOverlayTextBox.tsx b/src/client/views/MainOverlayTextBox.tsx
index d32e3f21b..3b75c248a 100644
--- a/src/client/views/MainOverlayTextBox.tsx
+++ b/src/client/views/MainOverlayTextBox.tsx
@@ -43,6 +43,7 @@ export class MainOverlayTextBox extends React.Component<MainOverlayTextBoxProps>
this._textXf = tx ? tx : () => Transform.Identity();
this._textTargetDiv = div;
if (div) {
+ if (div.parentElement && div.parentElement instanceof HTMLDivElement && div.parentElement.id === "screenSpace") this._textXf = () => Transform.Identity();
this._textColor = div.style.color;
div.style.color = "transparent";
this.TextScroll = div.scrollTop;