Extract embedded types to new files
This commit is contained in:
parent
b7749fe8cc
commit
7762aafb6c
6 changed files with 364 additions and 253 deletions
|
|
@ -361,7 +361,7 @@ namespace MatterHackers.MatterControl.PrinterControls
|
|||
double zoffset = printerSettings.GetValue<double>(SettingsKey.baby_step_z_offset);
|
||||
bool hasOverriddenZOffset = (zoffset != 0);
|
||||
|
||||
zOffsetStreamContainer.BackgroundColor = (allowRemoveButton && hasOverriddenZOffset) ? SliceSettingsWidget.userSettingBackgroundColor : ActiveTheme.Instance.SecondaryBackgroundColor;
|
||||
zOffsetStreamContainer.BackgroundColor = (allowRemoveButton && hasOverriddenZOffset) ? SliceSettingsRow.userSettingBackgroundColor : ActiveTheme.Instance.SecondaryBackgroundColor;
|
||||
clearZOffsetButton.Visible = allowRemoveButton && hasOverriddenZOffset;
|
||||
|
||||
zOffsetStreamDisplay.Text = zoffset.ToString("0.##");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue