mirror of
https://github.com/Kuingsmile/PicList.git
synced 2025-02-08 21:38:13 -05:00
Fixed: #82
This commit is contained in:
parent
bba250b0d9
commit
ce9c2aed71
@ -104,7 +104,12 @@ export default {
|
|||||||
if (this.dragging) {
|
if (this.dragging) {
|
||||||
const xLoc = e.screenX - this.wX
|
const xLoc = e.screenX - this.wX
|
||||||
const yLoc = e.screenY - this.wY
|
const yLoc = e.screenY - this.wY
|
||||||
this.$electron.remote.BrowserWindow.getFocusedWindow().setPosition(xLoc, yLoc)
|
this.$electron.remote.BrowserWindow.getFocusedWindow().setBounds({
|
||||||
|
x: xLoc,
|
||||||
|
y: yLoc,
|
||||||
|
width: 64,
|
||||||
|
height: 64
|
||||||
|
})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
handleMouseUp (e) {
|
handleMouseUp (e) {
|
||||||
|
Loading…
Reference in New Issue
Block a user