diff options
| author | bobzel <zzzman@gmail.com> | 2022-06-20 13:44:07 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2022-06-20 13:44:07 -0400 |
| commit | 165e28824883301c6777ecee430bb71e1db5b3ad (patch) | |
| tree | 0f558efcd254b745925acef734c4177da8b5fe9d /src/client/views/InkingStroke.tsx | |
| parent | 244afabced075fd0567aca20a306afe088581b91 (diff) | |
| parent | b292a055401af6236e0537cfad603016d77a535a (diff) | |
Merge branch 'master' into mainview-jenny
Diffstat (limited to 'src/client/views/InkingStroke.tsx')
| -rw-r--r-- | src/client/views/InkingStroke.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/InkingStroke.tsx b/src/client/views/InkingStroke.tsx index aa5a815ac..35d89d2b1 100644 --- a/src/client/views/InkingStroke.tsx +++ b/src/client/views/InkingStroke.tsx @@ -345,7 +345,7 @@ export class InkingStroke extends ViewBoxBaseComponent<FieldViewProps>() { onClick: (e: React.MouseEvent) => this._handledClick && e.stopPropagation(), onContextMenu: () => { const cm = ContextMenu.Instance; - !Doc.UserDoc().noviceMode && cm?.addItem({ description: "Recognize Writing", event: this.analyzeStrokes, icon: "paint-brush" }); + !Doc.noviceMode && cm?.addItem({ description: "Recognize Writing", event: this.analyzeStrokes, icon: "paint-brush" }); cm?.addItem({ description: "Toggle Mask", event: () => InkingStroke.toggleMask(this.rootDoc), icon: "paint-brush" }); cm?.addItem({ description: "Edit Points", event: action(() => InkStrokeProperties.Instance._controlButton = !InkStrokeProperties.Instance._controlButton), icon: "paint-brush" }); } |
