diff options
| author | makitso <makitso@gmail.com> | 2017-06-28 16:26:03 -0500 |
|---|---|---|
| committer | makitso <makitso@gmail.com> | 2017-06-28 16:26:03 -0500 |
| commit | 0eb743bcb0dd7977bf10e6685abaa104e53481a1 (patch) | |
| tree | 6e48c08f56e2012d6a0d2c42cc0033859c2fc18a /app | |
| parent | 9319432bb98adba3ece3dc3266e22eed58730c9b (diff) | |
| download | webtrees-0eb743bcb0dd7977bf10e6685abaa104e53481a1.tar.gz webtrees-0eb743bcb0dd7977bf10e6685abaa104e53481a1.tar.bz2 webtrees-0eb743bcb0dd7977bf10e6685abaa104e53481a1.zip | |
Tidy up a few of the connecting lines on charts
Diffstat (limited to 'app')
| -rw-r--r-- | app/Controller/FamilyBookController.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/Controller/FamilyBookController.php b/app/Controller/FamilyBookController.php index c063c0125d..17671ec3d7 100644 --- a/app/Controller/FamilyBookController.php +++ b/app/Controller/FamilyBookController.php @@ -190,7 +190,7 @@ class FamilyBookController extends ChartController { $genoffset = $this->generations; // handle pedigree n generations lines //-- calculate how tall the lines should be - $lh = ($this->bhalfheight + 4) * pow(2, ($genoffset - $count - 1)); + $lh = ($this->bhalfheight) * pow(2, ($genoffset - $count - 1)); // //Prints empty table columns for children w/o parents up to the max generation //This allows vertical line spacing to be consistent @@ -246,12 +246,12 @@ class FamilyBookController extends ChartController { } } } - $lh = (($famcount - 1) * ($this->getBoxDimensions()->height + 8) - ($linefactor)); + $lh = (($famcount - 1) * ($this->getBoxDimensions()->height) - ($linefactor)); if ($genoffset > 5) { $lh = $savlh; } } - echo '<img class="line3 pvline" src="', Theme::theme()->parameter('image-vline'), '" width="3" height="', $lh -4, '"></td>', + echo '<img class="line3 pvline" src="', Theme::theme()->parameter('image-vline'), '" width="3" height="', $lh, '"></td>', '<td>', '<img class="line4" src="', Theme::theme()->parameter('image-hline'), '" height="3"></td>', '<td>'; |
