Merge remote-tracking branch 'jakem72360/download-keybind'
This commit is contained in:
commit
690d532d52
@ -264,6 +264,8 @@ Gallery =
|
|||||||
Gallery.cb.rotateLeft
|
Gallery.cb.rotateLeft
|
||||||
when Conf['Rotate image clockwise']
|
when Conf['Rotate image clockwise']
|
||||||
Gallery.cb.rotateRight
|
Gallery.cb.rotateRight
|
||||||
|
when Conf['Download Gallery Image']
|
||||||
|
Gallery.cb.download
|
||||||
|
|
||||||
return unless cb
|
return unless cb
|
||||||
e.stopPropagation()
|
e.stopPropagation()
|
||||||
@ -298,6 +300,10 @@ Gallery =
|
|||||||
blank: (e) -> Gallery.cb.close() if e.target is @
|
blank: (e) -> Gallery.cb.close() if e.target is @
|
||||||
toggleSlideshow: -> Gallery.cb[if Gallery.slideshow then 'stop' else 'start']()
|
toggleSlideshow: -> Gallery.cb[if Gallery.slideshow then 'stop' else 'start']()
|
||||||
|
|
||||||
|
download: ->
|
||||||
|
name = $ '.gal-name'
|
||||||
|
name.click()
|
||||||
|
|
||||||
pause: ->
|
pause: ->
|
||||||
Gallery.cb.stop()
|
Gallery.cb.stop()
|
||||||
{current} = Gallery.nodes
|
{current} = Gallery.nodes
|
||||||
|
|||||||
@ -1016,6 +1016,10 @@ Config =
|
|||||||
'Shift+Left'
|
'Shift+Left'
|
||||||
'Rotate image anticlockwise in gallery.'
|
'Rotate image anticlockwise in gallery.'
|
||||||
]
|
]
|
||||||
|
'Download Gallery Image': [
|
||||||
|
'Shift+j'
|
||||||
|
'Download current image in gallery.'
|
||||||
|
]
|
||||||
'fappeTyme': [
|
'fappeTyme': [
|
||||||
'f'
|
'f'
|
||||||
'Toggle Fappe Tyme.'
|
'Toggle Fappe Tyme.'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user