mirror of
https://github.com/lxsang/antos-frontend.git
synced 2024-12-27 17:58:22 +01:00
add shortcut to preview
This commit is contained in:
parent
764be7ac67
commit
794ff33735
@ -8,8 +8,8 @@ class Preview extends this.OS.GUI.BaseApplication
|
|||||||
@view = @find "view"
|
@view = @find "view"
|
||||||
@status = @find "status"
|
@status = @find "status"
|
||||||
PDFJS.workerSrc = @_api.handler.get + "/#{@path()}/pdf.worker.js"
|
PDFJS.workerSrc = @_api.handler.get + "/#{@path()}/pdf.worker.js"
|
||||||
@bindKey "ALT-O", () -> me.actionFile "#{@name}-Open"
|
@bindKey "ALT-O", () -> me.actionFile "#{me.mame}-Open"
|
||||||
@bindKey "CTRL-O", () -> me.actionFile "#{@name}-Close"
|
@bindKey "CTRL-O", () -> me.actionFile "#{me.name}-Close"
|
||||||
@open @currfile
|
@open @currfile
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user