feat: add Delete key to remove source parts during ActionClone
Enables a "move" workflow: clone parts to a new position, then press Delete to remove the originals. Previously Delete just cancelled the clone action. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -386,11 +386,7 @@ namespace OpenNest.Controls
|
||||
switch (e.KeyCode)
|
||||
{
|
||||
case Keys.Delete:
|
||||
if (currentAction is ActionClone)
|
||||
{
|
||||
SetAction(typeof(ActionSelect));
|
||||
}
|
||||
else if (selectedCutOff != null)
|
||||
if (selectedCutOff != null)
|
||||
{
|
||||
Plate.CutOffs.Remove(selectedCutOff);
|
||||
selectedCutOff = null;
|
||||
@@ -853,6 +849,7 @@ namespace OpenNest.Controls
|
||||
Invalidate();
|
||||
}
|
||||
|
||||
|
||||
private void redrawTimer_Elapsed(object sender, System.Timers.ElapsedEventArgs e)
|
||||
{
|
||||
Invalidate();
|
||||
|
||||
Reference in New Issue
Block a user