Skip to content

Commit

Permalink
fix: Fixed mask modal (#98)
Browse files Browse the repository at this point in the history
  • Loading branch information
Yukthiw authored Feb 14, 2024
1 parent e244c3b commit 5856fdc
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Eplant/views/eFP/Viewer/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,16 @@ export default class EFPViewer
? ('relative' as const)
: ('absolute' as const),
}
case 'toggle-mask-modal':
return {
...state,
maskModalVisible: !state.maskModalVisible,
}
case 'set-mask-threshold':
return {
...state,
maskThreshold: action.threshold,
}
default:
return state
}
Expand Down

0 comments on commit 5856fdc

Please sign in to comment.