Skip to content

Commit

Permalink
Remove backdrop on input helper modal
Browse files Browse the repository at this point in the history
  • Loading branch information
robertabcd committed Oct 31, 2021
1 parent 8e52f4b commit 6ec09dd
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions src/components/ContextMenu/InputHelperModal.js
Original file line number Diff line number Diff line change
Expand Up @@ -607,11 +607,17 @@ const enhance = compose(
isBlink: false
}),
{
onColorClick: () => ({ target: { dataset: { fg } } }) => ({
onColorClick: () => ({
target: {
dataset: { fg }
}
}) => ({
fg: parseInt(fg, 10)
}),
onColorContextMenu: ({ bg }) => event => {
const { target: { dataset } } = event;
const {
target: { dataset }
} = event;
event.preventDefault();
event.stopPropagation();
return {
Expand Down Expand Up @@ -676,6 +682,7 @@ export const InputHelperModal = ({
}) => (
<Modal
show={show}
backdrop={false}
className="InputHelperModal__Dialog"
onMouseDown={onMouseDown}
onMouseMove={onMouseMove}
Expand Down

0 comments on commit 6ec09dd

Please sign in to comment.