+ Fixed edge label update on alignment change

This commit is contained in:
panthernet 2014-02-26 18:51:37 +04:00
Родитель f3966d8042
Коммит 27fe40bb08
2 изменённых файлов: 10 добавлений и 1 удалений

Просмотреть файл

@ -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>