Commit bc231476 authored by SpinShare's avatar SpinShare

fixed shortcut to close updateoverlay

parent 815e289e
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
</template> </template>
<script> <script>
import { remote } from 'electron'; import { remote, ipcRenderer } from 'electron';
const { shell } = remote; const { shell } = remote;
export default { export default {
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
], ],
mounted: function() { mounted: function() {
ipcRenderer.on("overlays-close", () => { ipcRenderer.on("overlays-close", () => {
this.close(); this.HideOverlay();
}); });
}, },
methods: { methods: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment