removed acrylic look because too many bugs

This commit is contained in:
stratuma 2024-06-01 22:14:17 +02:00
parent 7640c2ea89
commit 49391c3b98
3 changed files with 6 additions and 8 deletions

View File

@ -1,5 +1,5 @@
<template> <template>
<div class="fixed w-full flex flex-row px-2 bg-[#11111189] h-14 z-10 gap-1" style="-webkit-app-region: drag"> <div class="fixed w-full flex flex-row px-2 bg-[#111111] h-14 z-10 gap-1" style="-webkit-app-region: drag">
<div class="w-full flex gap-10 flex-row items-center justify-center px-5"> <div class="w-full flex gap-10 flex-row items-center justify-center px-5">
<button <button
@click="openAddAnime" @click="openAddAnime"

View File

@ -1,5 +1,5 @@
<template> <template>
<div class="relative h-screen overflow-hidden"> <div class="relative h-screen overflow-hidden bg-[#222222]">
<MainHeader /> <MainHeader />
<Updater /> <Updater />
<div class="flex flex-col text-white gap-5 mt-14 p-5 overflow-y-scroll h-[calc(100vh-3.5rem)]"> <div class="flex flex-col text-white gap-5 mt-14 p-5 overflow-y-scroll h-[calc(100vh-3.5rem)]">

View File

@ -24,8 +24,7 @@ function createWindow() {
icon: __dirname + '/icon/favicon.ico', icon: __dirname + '/icon/favicon.ico',
width: 950, width: 950,
height: 700, height: 700,
// Linux: backgroundColor: '#222222',
// backgroundColor: '#2222222',
webPreferences: { webPreferences: {
devTools: true, devTools: true,
nodeIntegration: true, nodeIntegration: true,
@ -43,7 +42,7 @@ function createWindow() {
maximizable: false, maximizable: false,
vibrancy: 'fullscreen-ui', vibrancy: 'fullscreen-ui',
// Not working when unfocusing the window somehow? // Not working when unfocusing the window somehow?
backgroundMaterial: 'acrylic', // backgroundMaterial: 'acrylic',
show: false, show: false,
// For Linux // For Linux
autoHideMenuBar: true autoHideMenuBar: true
@ -342,8 +341,7 @@ ipcMain.handle(
icon: __dirname + '/icon/favicon.ico', icon: __dirname + '/icon/favicon.ico',
width: opt.width, width: opt.width,
height: opt.height, height: opt.height,
// Linux: backgroundColor: '#222222',
// backgroundColor: '#2222222',
webPreferences: { webPreferences: {
devTools: true, devTools: true,
nodeIntegration: true, nodeIntegration: true,
@ -360,7 +358,7 @@ ipcMain.handle(
fullscreen: false, fullscreen: false,
maximizable: false, maximizable: false,
vibrancy: 'fullscreen-ui', vibrancy: 'fullscreen-ui',
backgroundMaterial: 'acrylic', // backgroundMaterial: 'acrylic',
show: false, show: false,
// For Linux // For Linux
autoHideMenuBar: true autoHideMenuBar: true