|
@@ -280,11 +280,12 @@ const pmShare = (function () {
|
|
|
let x1 = centerX + indent / 2;
|
|
|
let centerY = Math.floor((y + (y + h)) / 2);
|
|
|
let y1;
|
|
|
+ const lineColor = '#ababab';
|
|
|
// Draw Sibling Line
|
|
|
if (showTreeLine) {
|
|
|
// Draw Horizontal Line
|
|
|
if (centerX < x + w) {
|
|
|
- drawLine(ctx, centerX, centerY, Math.min(x1, x + w), centerY, 'gray');
|
|
|
+ drawLine(ctx, centerX, centerY, Math.min(x1, x + w), centerY, lineColor);
|
|
|
let img;
|
|
|
if(node.data.projType === projectType.folder){
|
|
|
img = document.getElementById('folder_open_pic');
|
|
@@ -308,9 +309,9 @@ const pmShare = (function () {
|
|
|
if (centerX < x + w) {
|
|
|
y1 = node.isLast() ? centerY : y + h;
|
|
|
if (node.isFirst() && !node.parent.parent) {
|
|
|
- drawLine(ctx, centerX, centerY, centerX, y1, 'gray');
|
|
|
+ drawLine(ctx, centerX, centerY, centerX, y1, lineColor);
|
|
|
} else {
|
|
|
- drawLine(ctx, centerX, y, centerX, y1, 'gray');
|
|
|
+ drawLine(ctx, centerX, y, centerX, y1, lineColor);
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -324,7 +325,7 @@ const pmShare = (function () {
|
|
|
while (parent.parent) {
|
|
|
if (!parent.isLast()) {
|
|
|
if (parentCenterX < x + w) {
|
|
|
- drawLine(ctx, parentCenterX, y, parentCenterX, y + h, 'gray');
|
|
|
+ drawLine(ctx, parentCenterX, y, parentCenterX, y + h, lineColor);
|
|
|
}
|
|
|
}
|
|
|
parent = parent.parent;
|