Put the upgrade indicator dot back on
This commit is contained in:
parent
a6b0c54e37
commit
79f588a44c
1 changed files with 10 additions and 1 deletions
|
|
@ -276,6 +276,14 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
|
|||
Name = "Upgrade",
|
||||
Padding = new BorderDouble(15, 0),
|
||||
});
|
||||
|
||||
tab.AfterDraw += (s, e) =>
|
||||
{
|
||||
e.Graphics2D.Circle(tab.LocalBounds.Right - 25 * DeviceScale,
|
||||
tab.LocalBounds.Bottom + tab.Height / 2 - 1 * DeviceScale,
|
||||
5 * DeviceScale,
|
||||
theme.PrimaryAccentColor);
|
||||
};
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
@ -288,6 +296,7 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
|
|||
Padding = new BorderDouble(15, 0),
|
||||
});
|
||||
}
|
||||
|
||||
EnableReduceWidth(tab, theme);
|
||||
|
||||
// Library tab
|
||||
|
|
@ -521,7 +530,7 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
|
|||
flashBackground.Start();
|
||||
}
|
||||
|
||||
private void SetLinkButtonsVisibility (object s, StringEventArgs e)
|
||||
private void SetLinkButtonsVisibility(object s, StringEventArgs e)
|
||||
{
|
||||
if (UpdateControlData.Instance.UpdateStatus == UpdateControlData.UpdateStatusStates.UpdateAvailable)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue