Merge pull request #25 from toofarapart/persistent_stores_view

Stores panel now persists on all non-world/non-space views.
This commit is contained in:
Michael Townsend
2013-07-08 14:25:20 -07:00
6 changed files with 72 additions and 7 deletions
+7 -1
View File
@@ -106,6 +106,10 @@ var Path = {
perks.appendTo(Path.panel);
}
}
if(Engine.activeModule === Path) {
$('#storesContainer').css({top: perks.height() + 26 + 'px'});
}
},
updateOutfitting: function() {
@@ -268,10 +272,12 @@ var Path = {
}
},
onArrival: function() {
onArrival: function(transition_diff) {
Path.setTitle();
Path.updateOutfitting();
Path.updatePerks();
Engine.moveStoresView($('#perks'), transition_diff);
},
setTitle: function() {