Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // insert inside created()
- electron.ipcRenderer.on("help-update-hack", () => {
- if (this.$global.editor.mode === 2) {
- this.$global.editor.mode = 3;
- this.$global.$emit("editor-mode-change", 3, true);
- } else {
- this.$global.editor.mode = 2;
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement