Made the wide screen mode switching to and from viewing the slice settings much clearer.
Made the visible panels settings save. Tried to make the panel changing and the single slide more similar.
This commit is contained in:
parent
a6493af42a
commit
b0f5c1105d
5 changed files with 108 additions and 78 deletions
|
|
@ -78,5 +78,44 @@ namespace MatterHackers.MatterControl
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
public bool ThirdPannelVisible
|
||||
{
|
||||
get
|
||||
{
|
||||
string currentValue = UserSettings.Instance.get("ThirdPannelVisible");
|
||||
if (acceptableTrueFalseValues.IndexOf(currentValue) == -1)
|
||||
{
|
||||
if (OemSettings.Instance.UseSimpleModeByDefault)
|
||||
{
|
||||
currentValue = "true";
|
||||
}
|
||||
else
|
||||
{
|
||||
currentValue = "false";
|
||||
}
|
||||
UserSettings.Instance.set("ThirdPannelVisible", currentValue);
|
||||
}
|
||||
|
||||
if (currentValue == "true")
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
set
|
||||
{
|
||||
if (value)
|
||||
{
|
||||
UserSettings.Instance.set("ThirdPannelVisible", "true");
|
||||
}
|
||||
else
|
||||
{
|
||||
UserSettings.Instance.set("ThirdPannelVisible", "false");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue