diff options
| author | Lauren <victor_kalev@brown.edu> | 2021-10-28 16:07:11 -0400 |
|---|---|---|
| committer | Lauren <victor_kalev@brown.edu> | 2021-10-28 16:07:11 -0400 |
| commit | 4bbfe0fad535033309e352311fae64520b9068a6 (patch) | |
| tree | 5c6bf40d7c93eccace91da26404bfc945e274ae6 /src/client/views/nodes | |
| parent | 4aeddc57b8d6654074adaf4cdbf542f1564a9dcc (diff) | |
adding eraser tool to menu
Diffstat (limited to 'src/client/views/nodes')
| -rw-r--r-- | src/client/views/nodes/button/FontIconBox.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/button/FontIconBox.tsx b/src/client/views/nodes/button/FontIconBox.tsx index 33fa23805..14b1cbb5d 100644 --- a/src/client/views/nodes/button/FontIconBox.tsx +++ b/src/client/views/nodes/button/FontIconBox.tsx @@ -766,7 +766,7 @@ Scripting.addGlobal(function setActiveInkTool(tool: string, checkResult?: boolea Doc.UserDoc().activeInkTool = InkTool.Pen; GestureOverlay.Instance.InkShape = tool; } - } else if (tool) { // pen + } else if (tool) { // pen or eraser if (Doc.UserDoc().activeInkTool === tool && !GestureOverlay.Instance.InkShape) { Doc.UserDoc().activeInkTool = InkTool.None; } else { |
