Skip to content

Commit

Permalink
Add reload window. Up 0.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
ChugunovRoman committed Dec 28, 2017
1 parent ad1621d commit 1ec7830
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "figma-linux",
"version": "0.0.1",
"version": "0.0.2",
"description": "Figma is the first interface design tool based in the browser, making it easier for teams to create software.",
"main": "src/index.js",
"repository": "git@github.com:ChugunovRoman/figma-linux.git",
Expand Down
3 changes: 3 additions & 0 deletions src/shortcuts.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,7 @@ module.exports = function(window) {
zoom += 0.05;
window.webContents.setZoomFactor(zoom);
});
globalShortcut.register('F5', () => {
window.reload();
});
}

0 comments on commit 1ec7830

Please sign in to comment.