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/AntimodeMenu.tsx | |
| parent | f738601ac9b497334e17835535f7572c961ee373 (diff) | |
added undo for deleting presentation view items. fixed scroll height of mainView sidebar.
Diffstat (limited to 'src/client/views/AntimodeMenu.tsx')
| -rw-r--r-- | src/client/views/AntimodeMenu.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/AntimodeMenu.tsx b/src/client/views/AntimodeMenu.tsx index 32fb24b32..3b0c56adc 100644 --- a/src/client/views/AntimodeMenu.tsx +++ b/src/client/views/AntimodeMenu.tsx @@ -86,7 +86,7 @@ export abstract class AntimodeMenu<T extends AntimodeMenuProps> extends React.Co @action protected togglePin = (e: React.MouseEvent) => { - this.Pinned = !this.Pinned; + runInAction(() => this.Pinned = !this.Pinned); } protected dragStart = (e: React.PointerEvent) => { |
