Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
freder committed Oct 2, 2021
1 parent 844e5e2 commit a5f27a7
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions nemo-preview/src/js/ui/mainWindow.js
Original file line number Diff line number Diff line change
Expand Up @@ -200,18 +200,18 @@ MainWindow.prototype = {
key == Gdk.KEY_F11)
this.toggleFullScreen();

if (key == 65364 /* Gdk.KEY_Down */) {
// log('down ' + Gtk.DirectionType.DOWN);
this._application.emitSelectionEvent(Gtk.DirectionType.DOWN);
}
else if (key == 65362) {
// log('up ' + Gtk.DirectionType.UP);
this._application.emitSelectionEvent(Gtk.DirectionType.UP);
}
else if (key == 65361) {
// log('left ' + Gtk.DirectionType.LEFT);
this._application.emitSelectionEvent(Gtk.DirectionType.LEFT);
}
if (key == Gdk.KEY_Down) {
this._application.emitSelectionEvent(Gtk.DirectionType.DOWN);
}
else if (key == Gdk.KEY_Up) {
this._application.emitSelectionEvent(Gtk.DirectionType.UP);
}
else if (key == Gdk.KEY_Left) {
this._application.emitSelectionEvent(Gtk.DirectionType.LEFT);
}
else if (key == Gdk.KEY_Right) {
this._application.emitSelectionEvent(Gtk.DirectionType.RIGHT);
}
else if (key == 65363) {
// log('right ' + Gtk.DirectionType.RIGHT);
this._application.emitSelectionEvent(Gtk.DirectionType.RIGHT);
Expand Down

0 comments on commit a5f27a7

Please sign in to comment.