mirror of
https://github.com/docusealco/docuseal
synced 2026-11-04 06:42:32 -05:00
add field area controls
This commit is contained in:
1 parent
4c74290bf0
commit
f5c00ada31
13 files changed
+382
-165
No files matched your search
@@ -48,7 +48,7 @@ module Submissions
|
||||
(((attachment.metadata['height'] * scale) + (area['h'] * height)) / 2)],
|
||||
width: attachment.metadata['width'] * scale,
|
||||
height: attachment.metadata['height'] * scale)
|
||||
when 'attachment'
|
||||
when 'file'
|
||||
Array.wrap(value).each_with_index do |uuid, index|
|
||||
attachment = submission.attachments.find { |a| a.uuid == uuid }
|
||||
|
||||
|
||||
Reference in new issue
Block a user