diff options
| author | yunahi <60233430+yunahi@users.noreply.github.com> | 2020-06-24 00:39:56 +0900 |
|---|---|---|
| committer | yunahi <60233430+yunahi@users.noreply.github.com> | 2020-06-24 00:39:56 +0900 |
| commit | 810da165c898973a098f0bfdb76727ab228d057a (patch) | |
| tree | 01c9ee3cdb21b756ecb8309f0219de495a58b6fb /src/client/views/GestureOverlay.tsx | |
| parent | 73299e354af3df1a5df712e24b32e14b5b0ec994 (diff) | |
fixed inkmenu
Diffstat (limited to 'src/client/views/GestureOverlay.tsx')
| -rw-r--r-- | src/client/views/GestureOverlay.tsx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/client/views/GestureOverlay.tsx b/src/client/views/GestureOverlay.tsx index 43aa63eb1..85695bbac 100644 --- a/src/client/views/GestureOverlay.tsx +++ b/src/client/views/GestureOverlay.tsx @@ -632,7 +632,9 @@ export default class GestureOverlay extends Touchable { this.makePolygon(this.InkShape, false); this.dispatchGesture(GestureUtils.Gestures.Stroke); this._points = []; - this.InkShape = ""; + if (this.InkShape !== "noRec") { + this.InkShape = ""; + } } // if we're not drawing in a toolglass try to recognize as gesture else { |
