Skip to content

Commit

Permalink
disable drag
Browse files Browse the repository at this point in the history
  • Loading branch information
Moebits committed Mar 30, 2022
1 parent 3b0982d commit f987e66
Show file tree
Hide file tree
Showing 5 changed files with 381 additions and 368 deletions.
Binary file modified .DS_Store
Binary file not shown.
1 change: 0 additions & 1 deletion index.less
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ p {
}

.app {
-webkit-app-region: drag;
animation: fadein 0.5s;
display: flex;
flex-direction: column;
Expand Down
2 changes: 1 addition & 1 deletion main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ ipcMain.handle("close-current-dialog", () => {
ipcMain.handle("resize-window", async (event, image: string) => {
const dim = await getDimensions(image)
const {width, height} = functions.constrainDimensions(dim.width, dim.height)
window?.setSize(width, height, true)
// window?.setSize(width, height, true)
})


Expand Down
Loading

0 comments on commit f987e66

Please sign in to comment.