Skip to content

Commit

Permalink
馃悰 Improve the normal title bar hiding selector
Browse files Browse the repository at this point in the history
Signed-off-by: Luka Leer <luka.leer@gmail.com>
  • Loading branch information
mahtaran committed Feb 12, 2024
1 parent 3190867 commit f49e0ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion injector/src/modules/browserwindow.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class BrowserWindow extends electron.BrowserWindow {
super(options);

if (typeof(shouldHaveFrame) === "boolean" && shouldHaveFrame) {
this.webContents.insertCSS(`div[class*="titleBar_"] {
this.webContents.insertCSS(`div[class^="titleBar_"], div[class*=" titleBar_"] {
display: none !important;
}`);
}
Expand Down

0 comments on commit f49e0ef

Please sign in to comment.