mirror of
https://github.com/docusealco/docuseal
synced 2026-11-05 06:42:32 -05:00
fix annotations
This commit is contained in:
1 parent
f69aa33f3d
commit
73fc2d92f7
1 file changed
+4
-4
@@ -29,10 +29,10 @@ module Templates
|
||||
{
|
||||
'type' => 'external_link',
|
||||
'value' => annot[:A][:URI],
|
||||
'x' => left / page.width,
|
||||
'y' => (page.height - top) / page.height,
|
||||
'w' => (right - left) / page.width,
|
||||
'h' => (top - bottom) / page.height
|
||||
'x' => left / page.width.to_f,
|
||||
'y' => (page.height - top) / page.height.to_f,
|
||||
'w' => (right - left) / page.width.to_f,
|
||||
'h' => (top - bottom) / page.height.to_f
|
||||
}
|
||||
end
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user