mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 17:25:26 +02:00
Default value given to a textPath's startOffet attribute to fix an error
This commit is contained in:
parent
f81cbed374
commit
3c317c182d
@ -3306,7 +3306,7 @@ function draw_elements_graph() {
|
|||||||
})
|
})
|
||||||
.attr("startOffset", function (d) {
|
.attr("startOffset", function (d) {
|
||||||
if (d.source.x < d.target.x) {
|
if (d.source.x < d.target.x) {
|
||||||
return "";
|
return "0%";
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
return "85%";
|
return "85%";
|
||||||
@ -3356,7 +3356,7 @@ function draw_elements_graph() {
|
|||||||
return "85%";
|
return "85%";
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
return "";
|
return "0%";
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.attr("text-anchor", function (d) {
|
.attr("text-anchor", function (d) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user