File tree 1 file changed +13
-16
lines changed
1 file changed +13
-16
lines changed Original file line number Diff line number Diff line change @@ -200,22 +200,19 @@ MainWindow.prototype = {
200
200
key == Gdk . KEY_F11 )
201
201
this . toggleFullScreen ( ) ;
202
202
203
- if ( key == 65364 /* Gdk.KEY_Down */ ) {
204
- // log('down ' + Gtk.DirectionType.DOWN);
205
- this . _application . emitSelectionEvent ( Gtk . DirectionType . DOWN ) ;
206
- }
207
- else if ( key == 65362 ) {
208
- // log('up ' + Gtk.DirectionType.UP);
209
- this . _application . emitSelectionEvent ( Gtk . DirectionType . UP ) ;
210
- }
211
- else if ( key == 65361 ) {
212
- // log('left ' + Gtk.DirectionType.LEFT);
213
- this . _application . emitSelectionEvent ( Gtk . DirectionType . LEFT ) ;
214
- }
215
- else if ( key == 65363 ) {
216
- // log('right ' + Gtk.DirectionType.RIGHT);
217
- this . _application . emitSelectionEvent ( Gtk . DirectionType . RIGHT ) ;
218
- }
203
+ if ( key == Gdk . KEY_Down ) {
204
+ this . _application . emitSelectionEvent ( Gtk . DirectionType . DOWN ) ;
205
+ }
206
+ else if ( key == Gdk . KEY_Up ) {
207
+ this . _application . emitSelectionEvent ( Gtk . DirectionType . UP ) ;
208
+ }
209
+ else if ( key == Gdk . KEY_Left ) {
210
+ this . _application . emitSelectionEvent ( Gtk . DirectionType . LEFT ) ;
211
+ }
212
+ else if ( key == Gdk . KEY_Right ) {
213
+ this . _application . emitSelectionEvent ( Gtk . DirectionType . RIGHT ) ;
214
+ }
215
+
219
216
return false ;
220
217
} ,
221
218
You can’t perform that action at this time.
0 commit comments