Improving documentation
This commit is contained in:
parent
e5967ff858
commit
19a5b9c4a8
3 changed files with 10 additions and 12 deletions
|
|
@ -29,6 +29,7 @@ either expressed or implied, of the FreeBSD Project.
|
|||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using ClipperLib;
|
||||
|
|
@ -53,10 +54,12 @@ namespace MatterHackers.MatterControl.DesignTools.Operations
|
|||
Name = "Smooth Path".Localize();
|
||||
}
|
||||
|
||||
[Description("Max distance to move bumps to make lines")]
|
||||
[MaxDecimalPlaces(2)]
|
||||
[Slider(.01, 1, VectorMath.Easing.EaseType.Quadratic, snapDistance: .01)]
|
||||
public DoubleOrExpression SmoothDistance { get; set; } = .3;
|
||||
|
||||
[Description("The number of smoothing passes")]
|
||||
public IntOrExpression Iterations { get; set; } = 3;
|
||||
|
||||
public void AddObject3DControls(Object3DControlsLayer object3DControlsLayer)
|
||||
|
|
|
|||
|
|
@ -647,7 +647,7 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
|
|||
var openMenuItems = new PopupMenu(ApplicationController.Instance.MenuTheme);
|
||||
popupMenu.PopupContent = openMenuItems;
|
||||
|
||||
var openFileButton = openMenuItems.CreateMenuItem("Add File to Bed".Localize(), StaticData.Instance.LoadIcon("fa-folder-open_16.png", 16, 16).SetToColor(theme.TextColor));
|
||||
var openFileButton = openMenuItems.CreateMenuItem("Add System File to Bed".Localize(), StaticData.Instance.LoadIcon("fa-folder-open_16.png", 16, 16).SetToColor(theme.TextColor));
|
||||
|
||||
openFileButton.Click += (s, e) =>
|
||||
{
|
||||
|
|
|
|||
|
|
@ -309,17 +309,12 @@ namespace MatterHackers.MatterControl.Tests.Automation
|
|||
{
|
||||
SystemWindow systemWindow;
|
||||
testRunner.GetWidgetByName("Hardware Tab", out systemWindow, 10);
|
||||
testRunner.WaitforDraw(systemWindow);
|
||||
|
||||
// close the welcome message
|
||||
if (testRunner.WaitForName("Start New Design"))
|
||||
{
|
||||
testRunner.ClickByName("Start New Design")
|
||||
.Delay();
|
||||
}
|
||||
|
||||
// and close the product tour offer
|
||||
testRunner.ClickByName("Cancel Wizard Button");
|
||||
testRunner.WaitforDraw(systemWindow)
|
||||
// close the welcome message
|
||||
.ClickByName("Start New Design")
|
||||
.Delay(.5)
|
||||
// and close the product tour offer
|
||||
.ClickByName("Cancel Wizard Button");
|
||||
|
||||
if (removeDefaultPhil)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue