Skip to content
Snippets Groups Projects
Commit a7112520 authored by Amanda Ghassaei's avatar Amanda Ghassaei
Browse files

base plane visiblitiy setttings

parent 42f78856
No related branches found
No related tags found
No related merge requests found
......@@ -94,12 +94,18 @@ AppState = Backbone.Model.extend({
_navChanged: function(){
//update to last tab open in that section
var navSelection = this.get("currentNav");
if (navSelection == "navDesign") this.set("currentTab",
this.get("lastDesignTab"));
else if (navSelection == "navSim") this.set("currentTab",
this.get("lastSimulationTab"));
else if (navSelection == "navAssemble") this.set("currentTab",
this.get("lastAssembleTab"));
if (navSelection == "navDesign") {
this.set("currentTab", this.get("lastDesignTab"));
this.set("basePlaneIsVisible", true);
}
else if (navSelection == "navSim") {
this.set("currentTab", this.get("lastSimulationTab"));
this.set("basePlaneIsVisible", false);
}
else if (navSelection == "navAssemble") {
this.set("currentTab", this.get("lastAssembleTab"));
this.set("basePlaneIsVisible", false);
}
},
_updateColorScheme: function(){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment