diff options
| author | bobzel <zzzman@gmail.com> | 2021-02-03 10:35:29 -0500 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2021-02-03 10:35:29 -0500 |
| commit | df23545cff9c612a91272c16fa819f8b53c310d0 (patch) | |
| tree | fc9a1843ece24e9691466c0b4e32bb95d9431a6d /src/client/views/GestureOverlay.tsx | |
| parent | 5666aa3b921024c0f7e6ebb48e0e8f50bb770e79 (diff) | |
fixed webBox forward/backward and in lightbox.
Diffstat (limited to 'src/client/views/GestureOverlay.tsx')
| -rw-r--r-- | src/client/views/GestureOverlay.tsx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/client/views/GestureOverlay.tsx b/src/client/views/GestureOverlay.tsx index 524462401..0cf958681 100644 --- a/src/client/views/GestureOverlay.tsx +++ b/src/client/views/GestureOverlay.tsx @@ -607,7 +607,7 @@ export class GestureOverlay extends Touchable { this.makePolygon(this.InkShape, false); this.dispatchGesture(GestureUtils.Gestures.Stroke); this._points = []; - if (!CollectionFreeFormViewChrome.Instance._keepMode) { + if (!CollectionFreeFormViewChrome.Instance._keepPrimitiveMode) { this.InkShape = ""; } } @@ -654,9 +654,9 @@ export class GestureOverlay extends Touchable { this._points = []; } //get out of ink mode after each stroke= - if (CollectionFreeFormViewChrome.Instance && !CollectionFreeFormViewChrome.Instance?._keepMode) { + if (CollectionFreeFormViewChrome.Instance && !CollectionFreeFormViewChrome.Instance?._keepPrimitiveMode) { Doc.SetSelectedTool(InkTool.None); - CollectionFreeFormViewChrome.Instance._selected = CollectionFreeFormViewChrome.Instance._shapesNum; + CollectionFreeFormViewChrome.Instance._selectedPrimitive = CollectionFreeFormViewChrome.Instance._shapesPrimNum; SetActiveArrowStart("none"); GestureOverlay.Instance.SavedArrowStart = ActiveArrowStart(); SetActiveArrowEnd("none"); |
