aboutsummaryrefslogtreecommitdiff
path: root/src/client/util/RichTextMenu.tsx
diff options
context:
space:
mode:
authorvellichora <fangrui_tong@brown.edu>2020-01-09 12:01:56 -0500
committervellichora <fangrui_tong@brown.edu>2020-01-09 12:01:56 -0500
commit531147df4186df3d4326748a5d083579cbc9e4c6 (patch)
treec80a96da6ff2495cdb6a3b27b9e8189e9f8b72c4 /src/client/util/RichTextMenu.tsx
parent89d3ec54886a588f3b7c8e46e771830eeefc3c8b (diff)
minor cleanup
Diffstat (limited to 'src/client/util/RichTextMenu.tsx')
-rw-r--r--src/client/util/RichTextMenu.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/util/RichTextMenu.tsx b/src/client/util/RichTextMenu.tsx
index ae55dbd30..af2e7cc48 100644
--- a/src/client/util/RichTextMenu.tsx
+++ b/src/client/util/RichTextMenu.tsx
@@ -54,6 +54,7 @@ export default class RichTextMenu extends AntimodeMenu {
constructor(props: Readonly<{}>) {
super(props);
RichTextMenu.Instance = this;
+ this._canFade = false;
}
@action
@@ -734,7 +735,7 @@ export default class RichTextMenu extends AntimodeMenu {
return (
<div className="richTextMenu" onPointerEnter={this.onPointerEnter} onPointerLeave={this.onPointerLeave}>
- {this.getElementWithRows(buttons, 2)}
+ {this.getElementWithRows(buttons, 2, false)}
</div>
);
}