electron: correct background color
This commit is contained in:
parent
f7b42fbfb2
commit
4a915659d4
2 changed files with 2 additions and 3 deletions
|
|
@ -11,7 +11,7 @@ export default function(options={}) {
|
|||
window = new BrowserWindow({
|
||||
title: options.title || settings.infos.productName,
|
||||
icon: path.resolve(__dirname + '/../../assets/logo.png'),
|
||||
backgroundColor: options.color,
|
||||
backgroundColor: '#21252B',
|
||||
type: options.type,
|
||||
useContentSize: true,
|
||||
darkTheme: true,
|
||||
|
|
|
|||
|
|
@ -37,7 +37,6 @@ function openClient() {
|
|||
var win = window({
|
||||
address:address,
|
||||
shortcuts:true,
|
||||
color:'#151a24',
|
||||
fullscreen: settings.read('fullscreen'),
|
||||
noFocus: settings.read('client-options') && settings.read('client-options').some(x=>x.match(/nofocus=1/i)),
|
||||
id: 'client'
|
||||
|
|
@ -173,7 +172,7 @@ function startLauncher() {
|
|||
|
||||
app.on('ready', function(){
|
||||
|
||||
launcher = window({address:address, shortcuts:dev, width:680, height:(40 + 200 + 20 + 24 * Object.keys(settings.options).filter(x=>settings.options[x].launcher !== false).length / 2), node:true, color:'#151a24', id: 'launcher'})
|
||||
launcher = window({address:address, shortcuts:dev, width:680, height:(40 + 200 + 20 + 24 * Object.keys(settings.options).filter(x=>settings.options[x].launcher !== false).length / 2), node:true, id: 'launcher'})
|
||||
|
||||
electronRemote.enable(launcher.webContents)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue