Put in retraction viewing.
This commit is contained in:
parent
a770450c1e
commit
242927ac48
1 changed files with 9 additions and 0 deletions
|
|
@ -412,6 +412,15 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
|
|||
};
|
||||
layerInfoContainer.AddChild(showMoves);
|
||||
|
||||
// put in a show Retractions checkbox
|
||||
CheckBox showRetractions = new CheckBox(new LocalizedString("Show Retractions").Translated, textColor: RGBA_Bytes.White);
|
||||
showRetractions.Checked = gcodeViewWidget.RenderRetractions;
|
||||
showRetractions.CheckedStateChanged += (sender, e) =>
|
||||
{
|
||||
gcodeViewWidget.RenderRetractions = showRetractions.Checked;
|
||||
};
|
||||
layerInfoContainer.AddChild(showRetractions);
|
||||
|
||||
//layerInfoContainer.AddChild(new CheckBox("Show Retractions", textColor: RGBA_Bytes.White));
|
||||
|
||||
buttonPanel.AddChild(layerInfoContainer);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue