Fixed issues with the enum label losing it's number, fixed this... almost. Do not change the z-Order of the label.

This commit is contained in:
RKrom 2014-06-11 23:27:13 +02:00
parent efd144ad0d
commit 87406d90da
3 changed files with 20 additions and 5 deletions

View file

@ -208,10 +208,10 @@ namespace Greenshot.Drawing {
/// <summary>
/// all stepLabels for the surface, needed with serialization
/// </summary>
private readonly LinkedList<IDrawableContainer> _stepLabels = new LinkedList<IDrawableContainer>();
private List<IDrawableContainer> _stepLabels = new List<IDrawableContainer>();
public void AddStepLabel(IDrawableContainer stepLabel) {
_stepLabels.AddLast(stepLabel);
_stepLabels.Add(stepLabel);
}
public void RemoveStepLabel(IDrawableContainer stepLabel) {
_stepLabels.Remove(stepLabel);