Remove small drawn fields #264
@ -157,7 +157,7 @@ export const DrawPDFFields = (props: Props) => {
|
||||
const handlePointerUp = () => {
|
||||
sigitFiles.forEach((s) => {
|
||||
s.pages?.forEach((p) => {
|
||||
// Remove small rects (accidentaly created)
|
||||
// Remove drawn fields below the MINIMUM_RECT_SIZE threshhold
|
||||
p.drawnFields = p.drawnFields.filter(
|
||||
(f) =>
|
||||
!(
|
||||
|
Loading…
Reference in New Issue
Block a user