mirror of
https://github.com/24eme/signaturepdf
synced 2024-05-21 23:26:38 +02:00
ltr for textbox in signature
This commit is contained in:
parent
d9c6829d7a
commit
006a1846cb
|
@ -532,6 +532,7 @@ var createAndAddSvgInCanvas = function(canvas, item, x, y, height = null) {
|
|||
left: x,
|
||||
top: y - 20,
|
||||
fontSize: 20,
|
||||
direction: direction,
|
||||
fontFamily: 'Monospace'
|
||||
});
|
||||
|
||||
|
|
|
@ -265,6 +265,7 @@
|
|||
var maxPage = <?php echo $maxPage ?>;
|
||||
var sharingMode = <?php echo intval(!isset($noSharingMode)) ?>;
|
||||
var hash = null;
|
||||
var direction = '<?php if ($TRANSLATION_LANGUAGE == 'ar'): ?>rtl<?php else: ?>ltr<?php endif ?>';
|
||||
<?php if(isset($hash)): ?>
|
||||
hash = "<?php echo $hash ?>";
|
||||
<?php endif; ?>
|
||||
|
|
Loading…
Reference in a new issue