Skip to content
This repository has been archived by the owner on Jul 12, 2021. It is now read-only.

Commit

Permalink
Add shortcuts for "Go to date" and "Go to today"
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelmeuli committed Jan 24, 2020
1 parent 15d57d2 commit cc0561a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/menu/menus/view.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,15 @@ export default function getViewMenu(): MenuItemConstructorOptions {
{
label: `${translate("go-to-today")}`,
id: "goToToday",
accelerator: "CmdOrCtrl+T",
click(): void {
setDaySelectedToday();
},
},
{
label: `${translate("go-to-date")}…`,
id: "goToDate",
accelerator: "CmdOrCtrl+Shift+T",
click(): void {
openOverlay("go-to-date");
},
Expand Down

0 comments on commit cc0561a

Please sign in to comment.