Commit d210e62c authored by rocosen's avatar rocosen

1

parent 8fdf1c5e
...@@ -98,8 +98,8 @@ ipcMain.on('resize-home', (event) => { ...@@ -98,8 +98,8 @@ ipcMain.on('resize-home', (event) => {
homeWindown.loadURL(resolveHtmlPath(`index.html#/home`)); homeWindown.loadURL(resolveHtmlPath(`index.html#/home`));
positioner.position(homeWindown, tray.getBounds(), alignment); positioner.position(homeWindown, tray.getBounds(), alignment);
isDev && homeWindown.webContents.openDevTools(); isDev && homeWindown.webContents.openDevTools();
homeWindown.webContents.openDevTools(); // homeWindown.webContents.openDevTools();
homeWindown.on('ready-to-show', () => { homeWindown.once('ready-to-show', () => {
homeWindown?.show(); homeWindown?.show();
}); });
...@@ -170,7 +170,7 @@ const createWindow = async () => { ...@@ -170,7 +170,7 @@ const createWindow = async () => {
mainWindow.loadURL(resolveHtmlPath('index.html')); mainWindow.loadURL(resolveHtmlPath('index.html'));
// mainWindow.webContents.openDevTools(); // mainWindow.webContents.openDevTools();
mainWindow.on('ready-to-show', () => { mainWindow.once('ready-to-show', () => {
if (!mainWindow) { if (!mainWindow) {
throw new Error('"mainWindow" is not defined'); throw new Error('"mainWindow" is not defined');
} }
......
...@@ -76,6 +76,7 @@ div::-webkit-scrollbar, ...@@ -76,6 +76,7 @@ div::-webkit-scrollbar,
main::-webkit-scrollbar { main::-webkit-scrollbar {
width: 8px; width: 8px;
height: 5px !important; height: 5px !important;
-webkit-app-region: no-drag;
} }
div::-webkit-scrollbar-track, div::-webkit-scrollbar-track,
...@@ -84,6 +85,7 @@ main::-webkit-scrollbar-track { ...@@ -84,6 +85,7 @@ main::-webkit-scrollbar-track {
-webkit-border-radius: 2em; -webkit-border-radius: 2em;
-moz-border-radius: 2em; -moz-border-radius: 2em;
border-radius: 2em; border-radius: 2em;
-webkit-app-region: no-drag;
} }
div::-webkit-scrollbar-thumb, div::-webkit-scrollbar-thumb,
...@@ -93,4 +95,5 @@ main::-webkit-scrollbar-thumb { ...@@ -93,4 +95,5 @@ main::-webkit-scrollbar-thumb {
-moz-border-radius: 4px; -moz-border-radius: 4px;
border-radius: 4px; border-radius: 4px;
height: 5px !important; height: 5px !important;
-webkit-app-region: no-drag;
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment