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