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({ ...@@ -94,12 +94,18 @@ AppState = Backbone.Model.extend({
_navChanged: function(){ _navChanged: function(){
//update to last tab open in that section //update to last tab open in that section
var navSelection = this.get("currentNav"); var navSelection = this.get("currentNav");
if (navSelection == "navDesign") this.set("currentTab", if (navSelection == "navDesign") {
this.get("lastDesignTab")); this.set("currentTab", this.get("lastDesignTab"));
else if (navSelection == "navSim") this.set("currentTab", this.set("basePlaneIsVisible", true);
this.get("lastSimulationTab")); }
else if (navSelection == "navAssemble") this.set("currentTab", else if (navSelection == "navSim") {
this.get("lastAssembleTab")); 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(){ _updateColorScheme: function(){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment