Fixed the export image issue where relation lines are over the nodes. Fixes #6531

This commit is contained in:
Aditya Toshniwal 2021-08-24 17:05:23 +05:30 committed by Akshay Joshi
parent c7fd1ae535
commit 8bf1c96065
2 changed files with 2 additions and 1 deletions

View File

@ -19,6 +19,7 @@ Housekeeping
Bug fixes
*********
| `Issue #6531 <https://redmine.postgresql.org/issues/6531>`_ - Fixed the export image issue where relation lines are over the nodes.
| `Issue #6544 <https://redmine.postgresql.org/issues/6544>`_ - Fixed width limitation issue in PSQL tool window.
| `Issue #6564 <https://redmine.postgresql.org/issues/6564>`_ - Fixed an issue where columns with sequences get altered unnecessarily with a schema diff tool.
| `Issue #6572 <https://redmine.postgresql.org/issues/6572>`_ - Partially fixes the data output panel display issue.

View File

@ -593,7 +593,7 @@ export default class BodyWidget extends React.Component {
let wrap = document.createElement('div');
wrap.setAttribute('style', svgEle.getAttribute('style'));
svgEle.setAttribute('style', null);
svgEle.parentNode.appendChild(wrap);
svgEle.parentNode.insertBefore(wrap, svgEle);
wrap.appendChild(svgEle);
recurseElementChildren(svgEle);
}