diff --git a/launcher/src/background.js b/launcher/src/background.js index 89ff6fd7d..cc715f06b 100644 --- a/launcher/src/background.js +++ b/launcher/src/background.js @@ -151,21 +151,7 @@ app.on("activate", () => { if (BrowserWindow.getAllWindows().length === 0) createWindow(); }); -// //electron drag&drop codes -// promiseIpc.on('ondragstart', (event, filePath) => { -// readFile(filePath); -// function readFile(filepath) { -// fs.readFile(filepath, 'utf-8', (err, data) => { -// if(err){ -// alert("An error ocurred reading the file :" + err.message) -// return -// } -// // handle the file content -// event.sender.send('fileData', data) -// }) -// } - -// }) + app.on("web-contents-created", (event, contents) => { // open every new window in the OS's default browser instead of a diff --git a/launcher/src/components/UI/the-staking/DropZone.vue b/launcher/src/components/UI/the-staking/DropZone.vue new file mode 100644 index 000000000..586babae9 --- /dev/null +++ b/launcher/src/components/UI/the-staking/DropZone.vue @@ -0,0 +1,15 @@ + + + + + diff --git a/launcher/src/components/UI/the-staking/KeyTable.vue b/launcher/src/components/UI/the-staking/KeyTable.vue index 7423d1e3c..c727f1bf1 100644 --- a/launcher/src/components/UI/the-staking/KeyTable.vue +++ b/launcher/src/components/UI/the-staking/KeyTable.vue @@ -2,7 +2,7 @@