Make it possible to change the name of an enum button

This commit is contained in:
LarsBrubaker 2021-09-20 09:20:22 -07:00
parent bd01dfa69a
commit c43ed1e73f
5 changed files with 56 additions and 35 deletions

View file

@ -27,11 +27,9 @@ of the authors and should not be interpreted as representing official policies,
either expressed or implied, of the FreeBSD Project.
*/
using MatterHackers.Agg.UI;
using MatterHackers.DataConverters3D;
using MatterHackers.Localizations;
using MatterHackers.VectorMath;
using System.Linq;
using System.Threading.Tasks;
namespace MatterHackers.MatterControl.DesignTools.Operations
@ -72,12 +70,8 @@ namespace MatterHackers.MatterControl.DesignTools.Operations
return translate;
}
#region // editable properties
public Vector3 Translation { get; set; } = Vector3.Zero;
#endregion // editable properties
public override async void OnInvalidate(InvalidateArgs invalidateArgs)
{
if ((invalidateArgs.InvalidateType.HasFlag(InvalidateType.Children)