DC
205bf75c7e
Simplify shortcuts. Go Back menu item
...
Fixes #585
2016-05-25 23:31:32 -07:00
Feross Aboukhadijeh
b1a7543d37
Perf: Use electron.* getter inline, rather than upfront
2016-05-12 17:00:34 -07:00
Feross Aboukhadijeh
5c9265fc99
Move Escape keyboard shortcut to shortcuts.js
2016-05-12 16:52:13 -07:00
Feross Aboukhadijeh
1deab08d38
Playback menu: Add "Play/Pause" item
...
The goal here is to remove shortcut handling from the renderer and
unify it all in menu.js and shortcuts.ks (for alternate shortcuts).
I would rather name it "Play" and change to "Pause" when video is
playing, but Electron doesn't support this (yet).
2016-05-12 16:52:13 -07:00
Feross Aboukhadijeh
2005ee4d0b
shortcuts.js: Consistent exported method naming
...
Exposed methods whose sole purpose is notify the module of an event
firing, should start with "on".
2016-05-12 16:52:13 -07:00
DC
840966c7f0
Remove global shortcuts when player isn't active
2016-03-28 22:57:40 -07:00
Feross Aboukhadijeh
9ef1d0a605
Keyboard shortcuts: volume shortcuts should be local
...
`globalShortcut` will register the shortcut at the OS level, even when
the app is not focused.
Using `localShortcut` would work, but let's put it in the top menu
instead, where all the other shortcuts are.
2016-03-26 20:04:29 -07:00
Feross Aboukhadijeh
0cf89600c0
es6ify
2016-03-26 19:58:04 -07:00
grunjol
fc6d8e7b7d
add volume management
2016-03-23 09:01:07 -03:00
Feross Aboukhadijeh
4f40e5d963
Fix Exception when dropping .torrent file onto Dock icon when app is closed
...
Fixes #154
2016-03-19 16:07:35 -07:00
Feross Aboukhadijeh
4fef6d00a8
main modules use require() instead of arguments
2016-03-09 15:20:28 -08:00
Feross Aboukhadijeh
713c87729a
all main modules have init() function
2016-03-09 15:15:04 -08:00
Feross Aboukhadijeh
e7d837e813
shortcut order
2016-03-09 15:05:39 -08:00
Feross Aboukhadijeh
29298a1074
Register "media key" for play/pause
2016-03-09 03:08:21 -08:00
Feross Aboukhadijeh
56536ad55e
Move paste to renderer
...
The ‘clipboard’ module works in the renderer without using the ’remote’
package. So we can eliminate one IPC call this way :)
2016-03-08 21:06:20 -08:00
Feross Aboukhadijeh
beca43029d
standard
2016-03-05 17:25:22 -08:00
Feross Aboukhadijeh
7eeda57b57
Add alternate fullscreen shortcut ⌘+Shift+F ( fix #26 )
...
Uses https://npmjs.com/package/electron-localshortcut to workaround a
bug in Electron (https://github.com/atom/electron/issues/1334 ).
We can remove `electron-localshortcut` once that bug is fixed.
2016-03-05 17:25:22 -08:00