diff --git a/MatterControl.csproj b/MatterControl.csproj index 1783d0a78..61f7d04b0 100644 --- a/MatterControl.csproj +++ b/MatterControl.csproj @@ -91,6 +91,7 @@ + @@ -230,7 +231,6 @@ - diff --git a/PartPreviewWindow/OverflowMenu.cs b/PartPreviewWindow/OverflowMenuButton.cs similarity index 91% rename from PartPreviewWindow/OverflowMenu.cs rename to PartPreviewWindow/OverflowMenuButton.cs index 02b750549..5c9f120c0 100644 --- a/PartPreviewWindow/OverflowMenu.cs +++ b/PartPreviewWindow/OverflowMenuButton.cs @@ -34,9 +34,9 @@ using MatterHackers.Localizations; namespace MatterHackers.MatterControl.PartPreviewWindow { - public class OverflowMenu : PopupMenuButton + public class OverflowMenuButton : PopupMenuButton { - public OverflowMenu(IconColor iconColor = IconColor.Theme) + public OverflowMenuButton(IconColor iconColor = IconColor.Theme) : base(new ImageWidget( AggContext.StaticData.LoadIcon(Path.Combine("ViewTransformControls", "overflow.png"), 32, @@ -50,7 +50,7 @@ namespace MatterHackers.MatterControl.PartPreviewWindow this.ToolTipText = "More...".Localize(); } - public OverflowMenu(GuiWidget viewWidget, ThemeConfig theme) + public OverflowMenuButton(GuiWidget viewWidget, ThemeConfig theme) : base(viewWidget, theme) { } diff --git a/PartPreviewWindow/View3D/PrinterBar/OverflowBar.cs b/PartPreviewWindow/View3D/PrinterBar/OverflowBar.cs index 976ca8387..f733bc6de 100644 --- a/PartPreviewWindow/View3D/PrinterBar/OverflowBar.cs +++ b/PartPreviewWindow/View3D/PrinterBar/OverflowBar.cs @@ -62,7 +62,7 @@ namespace MatterHackers.MatterControl.PartPreviewWindow this.SetRightAnchorItem(this.OverflowMenu); } - public OverflowMenu OverflowMenu { get; } + public OverflowMenuButton OverflowMenu { get; } // On load walk back to the first ancestor with background colors and copy public override void OnLoad(EventArgs args) diff --git a/SlicerConfiguration/SliceSettingsOverflowMenu.cs b/SlicerConfiguration/SliceSettingsOverflowMenu.cs index d4979f125..b2173f4a4 100644 --- a/SlicerConfiguration/SliceSettingsOverflowMenu.cs +++ b/SlicerConfiguration/SliceSettingsOverflowMenu.cs @@ -37,7 +37,7 @@ using MatterHackers.MatterControl.PartPreviewWindow; namespace MatterHackers.MatterControl.SlicerConfiguration { - public class SliceSettingsOverflowMenu : OverflowMenu + public class SliceSettingsOverflowMenu : OverflowMenuButton { // showHelpControls public SliceSettingsOverflowMenu(PrinterConfig printer)