aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes
diff options
context:
space:
mode:
authorLauren <victor_kalev@brown.edu>2021-10-28 16:07:11 -0400
committerLauren <victor_kalev@brown.edu>2021-10-28 16:07:11 -0400
commit4bbfe0fad535033309e352311fae64520b9068a6 (patch)
tree5c6bf40d7c93eccace91da26404bfc945e274ae6 /src/client/views/nodes
parent4aeddc57b8d6654074adaf4cdbf542f1564a9dcc (diff)
adding eraser tool to menu
Diffstat (limited to 'src/client/views/nodes')
-rw-r--r--src/client/views/nodes/button/FontIconBox.tsx2
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 {