diff options
author | geireann <geireann.lindfield@gmail.com> | 2024-10-31 10:45:12 -0400 |
---|---|---|
committer | geireann <geireann.lindfield@gmail.com> | 2024-10-31 10:45:12 -0400 |
commit | d234aebe441aced1b6d947653a1b36c226439103 (patch) | |
tree | 237f69defbcbdec1a3f3e10225d1613dc261531a /src/client/views/newlightbox/ButtonMenu/ButtonMenu.tsx | |
parent | 6b070202843e1e2a11c09c4d29aee4ab8750f31f (diff) | |
parent | 311836b7a013d37dccb7b74d7ce787cea448de38 (diff) |
Merge branch 'master' of https://github.com/brown-dash/Dash-Web
Diffstat (limited to 'src/client/views/newlightbox/ButtonMenu/ButtonMenu.tsx')
-rw-r--r-- | src/client/views/newlightbox/ButtonMenu/ButtonMenu.tsx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/client/views/newlightbox/ButtonMenu/ButtonMenu.tsx b/src/client/views/newlightbox/ButtonMenu/ButtonMenu.tsx index 3eb99f47a..8115bafbf 100644 --- a/src/client/views/newlightbox/ButtonMenu/ButtonMenu.tsx +++ b/src/client/views/newlightbox/ButtonMenu/ButtonMenu.tsx @@ -1,5 +1,3 @@ -/* eslint-disable jsx-a11y/no-static-element-interactions */ -/* eslint-disable jsx-a11y/click-events-have-key-events */ import { action } from 'mobx'; import * as React from 'react'; import { Doc } from '../../../../fields/Doc'; @@ -35,10 +33,10 @@ export function ButtonMenu() { <div className="newLightboxView-penBtn" title="toggle pen annotation" - style={{ background: Doc.ActiveTool === InkTool.Pen ? 'white' : undefined }} + style={{ background: Doc.ActiveTool === InkTool.Ink ? 'white' : undefined }} onClick={e => { e.stopPropagation(); - Doc.ActiveTool = Doc.ActiveTool === InkTool.Pen ? InkTool.None : InkTool.Pen; + Doc.ActiveTool = Doc.ActiveTool === InkTool.Ink ? InkTool.None : InkTool.Ink; }} /> <div |