mirror of
https://github.com/docusealco/docuseal
synced 2026-11-06 23:12:33 -05:00
fix cells field
This commit is contained in:
1 parent
704da3a2ec
commit
2ce9bbecb9
1 file changed
+1
-1
@@ -358,7 +358,7 @@ module Submissions
|
||||
width: PdfIcons::WIDTH * scale,
|
||||
height: PdfIcons::HEIGHT * scale
|
||||
)
|
||||
when ->(type) { type == 'cells' && !area['cell_w'].to_i.zero? }
|
||||
when ->(type) { type == 'cells' && !area['cell_w'].to_f.zero? }
|
||||
cell_width = area['cell_w'] * width
|
||||
|
||||
TextUtils.maybe_rtl_reverse(value).chars.each_with_index do |char, index|
|
||||
|
||||
Reference in new issue
Block a user