diff options
| author | bobzel <zzzman@gmail.com> | 2020-08-27 19:59:14 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2020-08-27 19:59:14 -0400 |
| commit | 2e0e34df0db385acfcd4079fae6e01fd4a2234fa (patch) | |
| tree | 3cf83489ce62b374538f88e243e269d9ae33a997 /src/client/views/nodes/formattedText/RichTextMenu.tsx | |
| parent | f738601ac9b497334e17835535f7572c961ee373 (diff) | |
added undo for deleting presentation view items. fixed scroll height of mainView sidebar.
Diffstat (limited to 'src/client/views/nodes/formattedText/RichTextMenu.tsx')
| -rw-r--r-- | src/client/views/nodes/formattedText/RichTextMenu.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/formattedText/RichTextMenu.tsx b/src/client/views/nodes/formattedText/RichTextMenu.tsx index a0e2d4351..3812e878f 100644 --- a/src/client/views/nodes/formattedText/RichTextMenu.tsx +++ b/src/client/views/nodes/formattedText/RichTextMenu.tsx @@ -75,7 +75,7 @@ export class RichTextMenu extends AntimodeMenu<AntimodeMenuProps> { RichTextMenu.Instance = this; this._canFade = false; //this.Pinned = BoolCast(Doc.UserDoc()["menuRichText-pinned"]); - this.Pinned = true; + runInAction(() => this.Pinned = true); this.fontSizeOptions = [ { mark: schema.marks.pFontSize.create({ fontSize: 7 }), title: "Set font size", label: "7pt", command: this.changeFontSize }, |
