mirror of
https://github.com/doublespeakgames/adarkroom.git
synced 2026-05-28 00:01:54 +08:00
Restore navigation property
Instead of a timed method to restore lx/rx navigation, a property will be set to true. In that case, the keyup method will not be executed, but it will restore navigation for further use.
This commit is contained in:
committed by
Blake Grotewold
parent
f94cfe2590
commit
358fe5fbcc
+2
-2
@@ -823,7 +823,7 @@ var World = {
|
||||
$('#outerSlider').animate({opacity:'1'}, 600, 'linear');
|
||||
Button.cooldown($('#embarkButton'));
|
||||
Engine.keyLock = false;
|
||||
Engine.restoreNavigation();
|
||||
Engine.tabNavigation = true;
|
||||
}, 2000, true);
|
||||
});
|
||||
}
|
||||
@@ -866,7 +866,7 @@ var World = {
|
||||
$('#outerSlider').animate({left: '0px'}, 300);
|
||||
Engine.activeModule = Path;
|
||||
Path.onArrival();
|
||||
Engine.restoreNavigation();
|
||||
Engine.restoreNavigation = true;
|
||||
},
|
||||
|
||||
leaveItAtHome: function(thing) {
|
||||
|
||||
Reference in New Issue
Block a user