add spotlight ui

This commit is contained in:
Xuan Sang LE 2018-03-03 11:02:51 +01:00
parent 7305ec1d4c
commit 764be7ac67

View File

@ -8,8 +8,8 @@ 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"
@bindKey "ALT-O", () -> me.actionFile "#{@name}-Open"
@bindKey "CTRL-O", () -> me.actionFile "#{@name}-Close"
@open @currfile