electron-drag-drop
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -70,3 +70,3 @@ 'use strict'; | ||
// NOTE: do not excludeSelf, some panel recieve this message to enable/disable drop element | ||
ipcPlus.sendToWins('drag:start', { | ||
ipcPlus.sendToWins('electron-drag-drop:drag-start', { | ||
type: type, | ||
@@ -85,3 +85,3 @@ items: items, | ||
// NOTE: do not excludeSelf, some panel recieve this message to enable/disable drop element | ||
ipcPlus.sendToWins('drag:end'); | ||
ipcPlus.sendToWins('electron-drag-drop:drag-end'); | ||
}; | ||
@@ -235,3 +235,3 @@ | ||
ipcRenderer.on('drag:start', (event, info) => { | ||
ipcRenderer.on('electron-drag-drop:drag-start', (event, info) => { | ||
_dragging = true; | ||
@@ -243,3 +243,3 @@ _type = info.type; | ||
ipcRenderer.on('drag:end', () => { | ||
ipcRenderer.on('electron-drag-drop:drag-end', () => { | ||
_dragging = false; | ||
@@ -246,0 +246,0 @@ _type = ''; |
{ | ||
"name": "electron-drag-drop", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Easily manipulate drag and drop in Electron.", | ||
@@ -28,6 +28,6 @@ "main": "index.js", | ||
"mocha": "^3.2.0", | ||
"spectron": "3.4.1" | ||
"spectron": "^3.6.0" | ||
}, | ||
"dependencies": { | ||
"electron-ipc-plus": "^1.2.3", | ||
"electron-ipc-plus": "^1.3.3", | ||
"electron-platform": "^1.2.0", | ||
@@ -34,0 +34,0 @@ "path-plus": "^1.0.0" |
@@ -8,6 +8,6 @@ const {app, BrowserWindow} = require('electron'); | ||
center: true, | ||
width: 800, | ||
height: 600 | ||
width: 400, | ||
height: 300 | ||
}); | ||
win.loadURL('file://' + __dirname + '/index.html'); | ||
}); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
21593
Updatedelectron-ipc-plus@^1.3.3