hidden-inset titlebar
This commit is contained in:
2
index.js
2
index.js
@@ -57,7 +57,7 @@ function createMainWindow () {
|
|||||||
width: 600,
|
width: 600,
|
||||||
height: 400,
|
height: 400,
|
||||||
title: 'WebTorrent',
|
title: 'WebTorrent',
|
||||||
// titleBarStyle: 'hidden',
|
titleBarStyle: 'hidden-inset',
|
||||||
show: false
|
show: false
|
||||||
})
|
})
|
||||||
win.loadURL('file://' + path.join(__dirname, 'main', 'index.html'))
|
win.loadURL('file://' + path.join(__dirname, 'main', 'index.html'))
|
||||||
|
|||||||
@@ -15,10 +15,12 @@ body {
|
|||||||
background: #333;
|
background: #333;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
line-height: 1.5em;
|
line-height: 1.5em;
|
||||||
|
-webkit-app-region: drag;
|
||||||
}
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
cursor: default;
|
cursor: default;
|
||||||
|
-webkit-app-region: no-drag;
|
||||||
}
|
}
|
||||||
|
|
||||||
body.drag::before {
|
body.drag::before {
|
||||||
|
|||||||
Reference in New Issue
Block a user