提交 242fdca4 编写于 作者: M Mathieu Bastian

Fix element label color when object mode is selected

上级 371e16c8
......@@ -115,6 +115,8 @@ public abstract class AbstractProcessor {
if (nodeDraft.getLabelColor() != null && node.getTextProperties() != null) {
Color labelColor = nodeDraft.getLabelColor();
node.getTextProperties().setColor(labelColor);
} else {
node.getTextProperties().setColor(new Color(0, 0, 0, 0));
}
if (nodeDraft.getLabelSize() != -1f && node.getTextProperties() != null) {
......@@ -199,6 +201,8 @@ public abstract class AbstractProcessor {
if (edgeDraft.getLabelColor() != null && edge.getTextProperties() != null) {
Color labelColor = edgeDraft.getLabelColor();
edge.getTextProperties().setColor(labelColor);
} else {
edge.getTextProperties().setColor(new Color(0, 0, 0, 0));
}
//Timeset
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册