Remove small drawn fields #264

Merged
enes merged 3 commits from issue-234-empty-box-creation into staging 2024-11-29 14:41:16 +00:00
Showing only changes of commit 6193c20ac3 - Show all commits

View File

@ -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) =>
!(