Correct the calculation for the position of right-aligned lines in the visual tools
Originally committed to SVN as r6477.
This commit is contained in:
parent
9b69ce7a27
commit
6339df3521
1 changed files with 1 additions and 1 deletions
|
@ -444,7 +444,7 @@ Vector2D VisualToolBase::GetLinePosition(AssDialogue *diag) {
|
||||||
else if (hor == 1)
|
else if (hor == 1)
|
||||||
x = (script_res.X() + margin[0] - margin[1]) / 2;
|
x = (script_res.X() + margin[0] - margin[1]) / 2;
|
||||||
else
|
else
|
||||||
x = margin[1];
|
x = script_res.X() - margin[1];
|
||||||
|
|
||||||
if (vert == 0)
|
if (vert == 0)
|
||||||
y = script_res.Y() - margin[2];
|
y = script_res.Y() - margin[2];
|
||||||
|
|
Loading…
Reference in a new issue