File tree Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -200,18 +200,18 @@ MainWindow.prototype = {
200200 key == Gdk . KEY_F11 )
201201 this . toggleFullScreen ( ) ;
202202
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- }
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+ }
215215 else if ( key == 65363 ) {
216216 // log('right ' + Gtk.DirectionType.RIGHT);
217217 this . _application . emitSelectionEvent ( Gtk . DirectionType . RIGHT ) ;
You can’t perform that action at this time.
0 commit comments