File tree Expand file tree Collapse file tree 4 files changed +6
-3
lines changed Expand file tree Collapse file tree 4 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -106,9 +106,11 @@ Flynn.InputHandler = Class.extend({
106
106
107
107
var self = this ;
108
108
this . keyDownHandler = function ( evt ) {
109
- if ( evt . keyCode == Flynn . KeyboardMap . escape ) {
109
+ if ( evt . keyCode == Flynn . KeyboardMap . escape ||
110
+ evt . keyCode == Flynn . KeyboardMap . tab ) {
110
111
// Prevent default for 'Escape'. This keeps Safari
111
112
// from exiting full-screen mode when escape is pressed.
113
+ // Tab prevents accidental interaction with the URL bar.
112
114
evt . preventDefault ( ) ;
113
115
}
114
116
//console.log("KeyDown: Code:" + evt.keyCode);
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ var Flynn = Flynn || {}; // Create namespace
6
6
7
7
( function ( ) { "use strict" ;
8
8
9
- Flynn . VERSION = "2.1.6 " ;
9
+ Flynn . VERSION = "2.1.7 " ;
10
10
11
11
Flynn . init = function (
12
12
canvasWidth ,
Original file line number Diff line number Diff line change @@ -117,7 +117,8 @@ Game.Main = Class.extend({
117
117
Game . sounds = {
118
118
music :{
119
119
background : new Howl ( {
120
- src : [ 'sounds/SpaceThemev3.mp3' ] ,
120
+ // src: ['sounds/SpaceThemev3.mp3'],
121
+ src : [ 'sounds/DST-Horizon515.mp3' ] ,
121
122
loop : true ,
122
123
buffer : ! this . browserIsIos , // Buffering causes problems on iOS devices
123
124
volume : 0.5 } ) ,
You can’t perform that action at this time.
0 commit comments