-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Help please: how to set electron window frame to false #236
Comments
Also looking to do the same! |
I found a monkey patch solution for this:
l = {
backgroundColor: r.getBackgroundColor(),
minWidth: wp.WIDTH,
minHeight: wp.HEIGHT,
title: n.nameLong,
show: e.mode !== 0 && e.mode !== 3,
x: e.x,
y: e.y,
width: e.width,
height: e.height,
webPreferences: {
...s,
enableWebSQL: !1,
spellcheck: !1,
zoomFactor: Tl(e.zoomLevel ?? c?.zoomLevel),
autoplayPolicy: "user-gesture-required",
enableBlinkFeatures: "HighlightAPI",
sandbox: !0,
},
experimentalDarkMode: !0,
}; to l = {
backgroundColor: r.getBackgroundColor(),
minWidth: wp.WIDTH,
minHeight: wp.HEIGHT,
title: n.nameLong,
show: e.mode !== 0 && e.mode !== 3,
x: e.x,
y: e.y,
width: e.width,
height: e.height,
webPreferences: {
...s,
enableWebSQL: !1,
spellcheck: !1,
zoomFactor: Tl(e.zoomLevel ?? c?.zoomLevel),
autoplayPolicy: "user-gesture-required",
enableBlinkFeatures: "HighlightAPI",
sandbox: !0,
},
experimentalDarkMode: !0,
frame: false,
transparent: true,
}; |
Finally got to like VSCode again, thank you! |
Monkey patch doesn't work for me D: |
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 15 days. |
Hi,
I am new to here, previously I used apc-extension to achieve frameless title bar and solve the 1px top white line drcika/apc-extension#169 microsoft/vscode#144389:
However, the
apc-extension
is broken by the VSCode's latest version drcika/apc-extension#230.May I ask how to do so with
vscode-custom-css
?Thanks a lot!
The text was updated successfully, but these errors were encountered: