Commit 8173cad9 authored by Robin Tissot's avatar Robin Tissot
Browse files

Fixes upside down lines in transcription modal.

parent d160841c
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment