mirror of
https://github.com/greenshot/greenshot
synced 2025-07-16 10:03:44 -07:00
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:
parent
efd144ad0d
commit
87406d90da
3 changed files with 20 additions and 5 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue