F1 help message

Took out auto show what's new
This commit is contained in:
Lars Brubaker 2018-06-05 12:22:26 -07:00
parent 6611bfd086
commit de6dd746fd
3 changed files with 3 additions and 8 deletions

View file

@ -1024,14 +1024,6 @@ namespace MatterHackers.MatterControl
return true;
}
// Tell the user about new features if applicable
if (!UserSettings.Instance.HasLookedAtWhatsNew()
&& OemSettings.Instance.ShowShopButton) // this is a hack to make them not mess up the tests
{
UiThread.RunOnIdle(() => DialogWindow.Show(new DesignSpaceGuide("What's New Tab", "")));
return true;
}
return false;
}

View file

@ -36,6 +36,7 @@ using MatterHackers.Localizations;
using MatterHackers.MatterControl.PartPreviewWindow.PlusTab;
using MatterHackers.MatterControl.SlicerConfiguration;
using MatterHackers.VectorMath;
using Newtonsoft.Json;
namespace MatterHackers.MatterControl.PartPreviewWindow
{
@ -108,6 +109,7 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
seeWhatsNewButton.Margin = new Agg.BorderDouble(10, 0);
seeWhatsNewButton.Click += (s, e) => UiThread.RunOnIdle(() =>
{
UserSettings.Instance.set(UserSettingsKey.LastReadWhatsNew, JsonConvert.SerializeObject(DateTime.Now));
DialogWindow.Show(new DesignSpaceGuide("What's New Tab", ""));
});

View file

@ -196,6 +196,7 @@ namespace MatterHackers.MatterControl
var keyActions = new List<(string key, string action)>(new(string, string)[]
{
("F1","Show Help".Localize()),
("ctrl + +","Zoom in".Localize()),
("ctrl + -","Zoom out".Localize()),
("← → ↑ ↓","Rotate".Localize()),