Browse Source

relationView同一层级的两个region高度不同,矮的那个下部的连线会少一截

es6
windy 7 years ago
parent
commit
7ec9d108db
  1. 2
      dist/bundle.js
  2. 2
      dist/bundle.min.js
  3. 2
      dist/widget.js
  4. 2
      src/widget/relationview/relationview.js

2
dist/bundle.js vendored

@ -91161,7 +91161,7 @@ BI.RelationView = BI.inherit(BI.Widget, {
// } // }
var draw = function (i, j, direction, isForeign) { var draw = function (i, j, direction, isForeign) {
var x = offsetWidths[j] + (widths[j] - views[i][j].getWidth()) / 2; var x = offsetWidths[j] + (widths[j] - views[i][j].getWidth()) / 2;
var y = offsetHeights[i] + (heights[i] - views[i][j].getHeight()) / 2; var y = offsetHeights[i];
var path = "", position; var path = "", position;
switch (direction) { switch (direction) {
case top: case top:

2
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/widget.js vendored

@ -15107,7 +15107,7 @@ BI.RelationView = BI.inherit(BI.Widget, {
// } // }
var draw = function (i, j, direction, isForeign) { var draw = function (i, j, direction, isForeign) {
var x = offsetWidths[j] + (widths[j] - views[i][j].getWidth()) / 2; var x = offsetWidths[j] + (widths[j] - views[i][j].getWidth()) / 2;
var y = offsetHeights[i] + (heights[i] - views[i][j].getHeight()) / 2; var y = offsetHeights[i];
var path = "", position; var path = "", position;
switch (direction) { switch (direction) {
case top: case top:

2
src/widget/relationview/relationview.js

@ -233,7 +233,7 @@ BI.RelationView = BI.inherit(BI.Widget, {
// } // }
var draw = function (i, j, direction, isForeign) { var draw = function (i, j, direction, isForeign) {
var x = offsetWidths[j] + (widths[j] - views[i][j].getWidth()) / 2; var x = offsetWidths[j] + (widths[j] - views[i][j].getWidth()) / 2;
var y = offsetHeights[i] + (heights[i] - views[i][j].getHeight()) / 2; var y = offsetHeights[i];
var path = "", position; var path = "", position;
switch (direction) { switch (direction) {
case top: case top:

Loading…
Cancel
Save