diff --git a/app/apps/core/static/js/edit/components/trans_modal.js b/app/apps/core/static/js/edit/components/trans_modal.js index 3dfae0550a4a45a0d89ea43865ffa7104fdd4d01..ec2ab8d940cd24bd1b2b26fe655721b50568bd20 100644 --- a/app/apps/core/static/js/edit/components/trans_modal.js +++ b/app/apps/core/static/js/edit/components/trans_modal.js @@ -107,7 +107,7 @@ const TranscriptionModal = Vue.component('transcriptionmodal', { tmppoly.setAttributeNS(null, 'fill', 'red'); // calculate rotation needed to get the line horizontal - let target_angle = READ_DIRECTION == 'rtl' ? 180 : 0; + let target_angle = 0; // all lines should be topologically ltr let angle = target_angle - this.getLineAngle(); // apply it to the polygon and get the resulting bbox