fix cell field

This commit is contained in:
Pete Matsyburka
2024-07-30 21:18:56 +03:00
parent d135c93939
commit 12528b6527
@@ -327,7 +327,7 @@ module Submissions
width: PdfIcons::WIDTH * scale,
height: PdfIcons::HEIGHT * scale
)
when ->(type) { type == 'cells' && area['cell_w'] }
when ->(type) { type == 'cells' && !area['cell_w'].to_i.zero? }
cell_width = area['cell_w'] * width
TextUtils.maybe_rtl_reverse(value).chars.each_with_index do |char, index|