mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-18 21:52:05 +00:00
fix rare crash due to unfocus effect
This commit is contained in:
@ -6,6 +6,8 @@ module.exports = () => {
|
|||||||
const bar = new customTitlebar.Titlebar({
|
const bar = new customTitlebar.Titlebar({
|
||||||
backgroundColor: customTitlebar.Color.fromHex("#050505"),
|
backgroundColor: customTitlebar.Color.fromHex("#050505"),
|
||||||
itemBackgroundColor: customTitlebar.Color.fromHex("#121212"),
|
itemBackgroundColor: customTitlebar.Color.fromHex("#121212"),
|
||||||
|
// !important - unfocus effect can sometimes cause crash as of v3.2.6 of custom-electron-titlebar
|
||||||
|
unfocusEffect: false
|
||||||
});
|
});
|
||||||
bar.updateTitle(" ");
|
bar.updateTitle(" ");
|
||||||
document.title = "Youtube Music";
|
document.title = "Youtube Music";
|
||||||
|
|||||||
Reference in New Issue
Block a user