Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 8173cad9 authored by Robin Tissot's avatar Robin Tissot
Browse files

Fixes upside down lines in transcription modal.

parent d160841c
No related branches found
No related tags found
No related merge requests found
...@@ -107,7 +107,7 @@ const TranscriptionModal = Vue.component('transcriptionmodal', { ...@@ -107,7 +107,7 @@ const TranscriptionModal = Vue.component('transcriptionmodal', {
tmppoly.setAttributeNS(null, 'fill', 'red'); tmppoly.setAttributeNS(null, 'fill', 'red');
// calculate rotation needed to get the line horizontal // 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(); let angle = target_angle - this.getLineAngle();
// apply it to the polygon and get the resulting bbox // apply it to the polygon and get the resulting bbox
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment