diff options
author | bob <bcz@cs.brown.edu> | 2019-05-08 18:31:14 -0400 |
---|---|---|
committer | bob <bcz@cs.brown.edu> | 2019-05-08 18:31:14 -0400 |
commit | 007433dabbd6a8a5f702ac393ecd2b40b1c3a9d8 (patch) | |
tree | 05943eb5dfab3c1cce08f021e04273d0ac655c76 /src/client/views/MainOverlayTextBox.tsx | |
parent | c67fc234cf4a524c19989134d878797563207e93 (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.tsx | 1 |
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; |