Pinta.Core.UpdateLayerPropertiesHistoryItem.Undo C# (CSharp) Method

Undo() public method

public Undo ( ) : void
return void
        public override void Undo()
        {
            var layer = PintaCore.Layers[layer_index];
            layer.Opacity = initial_properties.Opacity;
            layer.Hidden = initial_properties.Hidden;
            layer.Name = initial_properties.Name;
        }