mirror of
https://github.com/doublespeakgames/adarkroom.git
synced 2026-05-28 16:21:53 +08:00
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:
+7
-1
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user