Remove unused property/helper
This commit is contained in:
parent
0784900080
commit
a1fade3716
2 changed files with 6 additions and 24 deletions
|
|
@ -92,17 +92,6 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
|
|||
return null;
|
||||
}
|
||||
|
||||
public GuiWidget GenerateHorizontalRule()
|
||||
{
|
||||
return new GuiWidget()
|
||||
{
|
||||
Height = 1,
|
||||
Margin = new BorderDouble(0, 1, 0, 3),
|
||||
HAnchor = HAnchor.ParentLeftRight,
|
||||
BackgroundColor = new RGBA_Bytes(255, 255, 255, 200)
|
||||
};
|
||||
}
|
||||
|
||||
private void CheckSettingChanged(object sender, EventArgs e)
|
||||
{
|
||||
StringEventArgs stringEvent = e as StringEventArgs;
|
||||
|
|
@ -118,8 +107,6 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
|
|||
}
|
||||
}
|
||||
|
||||
public virtual bool InEditMode { get { return false; } }
|
||||
|
||||
private void RecreateBed()
|
||||
{
|
||||
double buildHeight = ActiveSliceSettings.Instance.GetValue<double>(SettingsKey.build_height);
|
||||
|
|
|
|||
|
|
@ -547,17 +547,14 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
|
|||
|
||||
set
|
||||
{
|
||||
if (InEditMode)
|
||||
{
|
||||
// <IObject3D>
|
||||
dragDropSource = value;
|
||||
// <IObject3D>
|
||||
dragDropSource = value;
|
||||
|
||||
// Clear the DragSourceModel - <ILibraryItem>
|
||||
DragSourceModel = null;
|
||||
// Clear the DragSourceModel - <ILibraryItem>
|
||||
DragSourceModel = null;
|
||||
|
||||
// Suppress ui volumes when dragDropSource is not null
|
||||
meshViewerWidget.SuppressUiVolumes = (dragDropSource != null);
|
||||
}
|
||||
// Suppress ui volumes when dragDropSource is not null
|
||||
meshViewerWidget.SuppressUiVolumes = (dragDropSource != null);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -2242,8 +2239,6 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
|
|||
}
|
||||
}
|
||||
|
||||
public override bool InEditMode => true;
|
||||
|
||||
public Vector2 DragSelectionStartPosition { get; private set; }
|
||||
public bool DragSelectionInProgress { get; private set; }
|
||||
public Vector2 DragSelectionEndPosition { get; private set; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue