mirror of
https://github.com/lxsang/antos-frontend.git
synced 2024-12-28 10:18:21 +01:00
add spotlight ui
This commit is contained in:
parent
d329c2c423
commit
7305ec1d4c
@ -8,8 +8,11 @@ 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"
|
||||||
|
@binKey "ALT-O", () -> me.actionFile "#{@name}-Open"
|
||||||
|
@binKey "CTRL-O", () -> me.actionFile "#{@name}-Close"
|
||||||
@open @currfile
|
@open @currfile
|
||||||
|
|
||||||
|
|
||||||
open: (file) ->
|
open: (file) ->
|
||||||
me = @
|
me = @
|
||||||
return unless file
|
return unless file
|
||||||
|
Loading…
Reference in New Issue
Block a user