writing tests for sheets
This commit is contained in:
parent
3d068ef868
commit
0dcb08e1cc
6 changed files with 74 additions and 19 deletions
|
|
@ -213,8 +213,13 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
|
|||
Action<double> setWidth = (newWidth) => width.Expression = newWidth.ToString();
|
||||
Func<double> getDepth = () => depth.Value(item);
|
||||
Action<double> setDepth = (newDepth) => depth.Expression = newDepth.ToString();
|
||||
Func<double> getHeight = () => height.Value(item);
|
||||
Action<double> setHeight = (newHeight) => height.Expression = newHeight.ToString();
|
||||
Func<double> getHeight = null;
|
||||
Action<double> setHeight = null;
|
||||
if (height != null)
|
||||
{
|
||||
getHeight = () => height.Value(item);
|
||||
setHeight = (newHeight) => height.Expression = newHeight.ToString();
|
||||
}
|
||||
|
||||
if (width != null
|
||||
&& !width.IsEquation
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue