mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-11 02:31:45 +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({
|
||||
backgroundColor: customTitlebar.Color.fromHex("#050505"),
|
||||
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(" ");
|
||||
document.title = "Youtube Music";
|
||||
|
||||
Reference in New Issue
Block a user