зеркало из https://github.com/stride3d/GraphX.git
+ Fixed edge label update on alignment change
This commit is contained in:
Родитель
f3966d8042
Коммит
27fe40bb08
|
@ -7,6 +7,7 @@
|
|||
+ Fixed labels rendering for parallel edges. Now they are displayed separately for each edge.
|
||||
+ Fixed async calculations being broken due to LogicCore property became dependency
|
||||
+ Fixed ViewFinder not deriving ZoomControl background
|
||||
+ Fixed edge label update on alignment change
|
||||
+ Implemented some properties as dependencies
|
||||
+ Reworked EdgeLabelControl inner logic. Should now be more flexible and performance efficient.
|
||||
+ Some code refactoring. Minor performance improvements.
|
||||
|
|
|
@ -156,7 +156,15 @@ namespace GraphX
|
|||
/// <summary>
|
||||
/// Gets or sets if lables should be aligned to edges and be displayed under the same angle
|
||||
/// </summary>
|
||||
public bool AlignLabelsToEdges { get { return _alignLabelsToEdges; } set { _alignLabelsToEdges = value; if (_edgeLabelControl != null && value == false) _edgeLabelControl.Angle = 0; } }
|
||||
public bool AlignLabelsToEdges { get { return _alignLabelsToEdges; } set
|
||||
{
|
||||
_alignLabelsToEdges = value;
|
||||
if (_edgeLabelControl != null)
|
||||
{
|
||||
if (value == false) _edgeLabelControl.Angle = 0;
|
||||
_edgeLabelControl.UpdatePosition();
|
||||
}
|
||||
} }
|
||||
private bool _alignLabelsToEdges;
|
||||
|
||||
/// <summary>
|
||||
|
|
Загрузка…
Ссылка в новой задаче