Skip to content
This repository has been archived by the owner on Nov 1, 2020. It is now read-only.

Commit

Permalink
fix syntax for lint
Browse files Browse the repository at this point in the history
  • Loading branch information
mikkame committed May 14, 2020
1 parent 13a25b1 commit 6b0b281
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/background.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {createProtocol,} from 'vue-cli-plugin-electron-builder/lib'
import fs from 'fs'
import path from 'path'
const mime = require('mime')
const localShortcut = require("electron-localshortcut");


const isDevelopment = process.env.NODE_ENV !== 'production'

Expand Down Expand Up @@ -52,7 +52,7 @@ function createWindow() {
name: path.basename(filepath)
})
})
let ret = globalShortcut.register('CommandOrControl+D', () => {
globalShortcut.register('CommandOrControl+D', () => {
webContents.send('toggle-draw')

})
Expand Down

0 comments on commit 6b0b281

Please sign in to comment.