fix result generation with cell

This commit is contained in:
Pete Matsyburka
2024-02-29 12:57:23 +02:00
parent 8e72b0b0e4
commit 8432bec3d6
@@ -164,7 +164,7 @@ module Submissions
width: PdfIcons::WIDTH * scale,
height: PdfIcons::HEIGHT * scale
)
when 'cells'
when ->(type) { type == 'cells' && area['cell_w'] }
cell_width = area['cell_w'] * width
TextUtils.maybe_rtl_reverse(value).chars.each_with_index do |char, index|