aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBob Zeleznik <zzzman@gmail.com>2020-02-15 22:57:59 -0500
committerBob Zeleznik <zzzman@gmail.com>2020-02-15 22:57:59 -0500
commit8cdee98fc23997753a4ec389802115be552b0db2 (patch)
tree1afbabcc5dec95d57871dafea723cce6f1ffa9fd /src
parenta71f1cbfe47bbe5bcefa7deb63fa812683a37178 (diff)
fixed infinite render loop
Diffstat (limited to 'src')
-rw-r--r--src/client/util/RichTextSchema.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/util/RichTextSchema.tsx b/src/client/util/RichTextSchema.tsx
index 80bd75771..3a3bcd1ad 100644
--- a/src/client/util/RichTextSchema.tsx
+++ b/src/client/util/RichTextSchema.tsx
@@ -824,7 +824,7 @@ export class DashDocView {
ScreenToLocalTransform={this.getDocTransform}
addDocTab={this._textBox.props.addDocTab}
pinToPres={returnFalse}
- renderDepth={1}
+ renderDepth={self._textBox.props.renderDepth + 1}
PanelWidth={finalLayout[WidthSym]}
PanelHeight={finalLayout[HeightSym]}
focus={this.outerFocus}