Stores panel now persists on all non-world/non-space views.

This commit is contained in:
Matt Rasmus
2013-07-06 14:56:27 -07:00
parent 12258689e8
commit 8dabee851d
6 changed files with 59 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() {
@@ -289,10 +293,12 @@ var Path = {
}
},
onArrival: function() {
onArrival: function(transition_diff) {
Path.setTitle();
Path.updateOutfitting();
Path.updatePerks();
Engine.moveStoresView($('#perks'), transition_diff);
},
setTitle: function() {