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:
Thomas Goyne 2012-02-16 03:52:50 +00:00
parent 9b69ce7a27
commit 6339df3521
1 changed files with 1 additions and 1 deletions

View File

@ -444,7 +444,7 @@ Vector2D VisualToolBase::GetLinePosition(AssDialogue *diag) {
else if (hor == 1)
x = (script_res.X() + margin[0] - margin[1]) / 2;
else
x = margin[1];
x = script_res.X() - margin[1];
if (vert == 0)
y = script_res.Y() - margin[2];