mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-16 20:52:06 +00:00
fix: remove xo, migration to eslint
This commit is contained in:
@ -1,14 +1,14 @@
|
||||
const { Titlebar, Color } = require("custom-electron-titlebar");
|
||||
const { Titlebar, Color } = require('custom-electron-titlebar');
|
||||
|
||||
module.exports = () => {
|
||||
new Titlebar({
|
||||
backgroundColor: Color.fromHex("#050505"),
|
||||
minimizable: false,
|
||||
maximizable: false,
|
||||
menu: null
|
||||
});
|
||||
const mainStyle = document.querySelector("#container").style;
|
||||
mainStyle.width = "100%";
|
||||
mainStyle.position = "fixed";
|
||||
mainStyle.border = "unset";
|
||||
new Titlebar({
|
||||
backgroundColor: Color.fromHex('#050505'),
|
||||
minimizable: false,
|
||||
maximizable: false,
|
||||
menu: null,
|
||||
});
|
||||
const mainStyle = document.querySelector('#container').style;
|
||||
mainStyle.width = '100%';
|
||||
mainStyle.position = 'fixed';
|
||||
mainStyle.border = 'unset';
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user