Skip to content

Commit

Permalink
Fix zoom action
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremypw committed Mar 28, 2018
1 parent ec6e9e7 commit b86a72d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Gnonogram_view.vala
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,8 @@ public class View : Gtk.ApplicationWindow {
application.set_accels_for_action ("view.move-cursor((1, 0))", {"Down"});
application.set_accels_for_action ("view.move-cursor((0, -1))", {"Left"});
application.set_accels_for_action ("view.move-cursor((0, 1))", {"Right"});
application.set_accels_for_action ("view.zoom_in", {"<Ctrl>plus", "<Ctrl>equal", "<Ctrl>KP_Add"});
application.set_accels_for_action ("view.zoom_out", {"<Ctrl>minus", "<Ctrl>KP_Subtract"});
application.set_accels_for_action ("view.zoom(int32 1)", {"<Ctrl>plus", "<Ctrl>equal", "<Ctrl>KP_Add"});
application.set_accels_for_action ("view.zoom(int32 -1)", {"<Ctrl>minus", "<Ctrl>KP_Subtract"});
application.set_accels_for_action ("view.set-mode(uint32 %u)".printf (GameState.SETTING), {"<Ctrl>1"});
application.set_accels_for_action ("view.set-mode(uint32 %u)".printf (GameState.SOLVING), {"<Ctrl>2"});
application.set_accels_for_action ("view.set-mode(uint32 %u)".printf (GameState.GENERATING), {"<Ctrl>3", "<Ctrl>N"});
Expand Down

0 comments on commit b86a72d

Please sign in to comment.