Skip to content

Commit a5f27a7

Browse files
committed
clean up
1 parent 844e5e2 commit a5f27a7

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

nemo-preview/src/js/ui/mainWindow.js

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff 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);

0 commit comments

Comments
 (0)