Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
N
netdisc
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
rocosen
netdisc
Commits
d210e62c
Commit
d210e62c
authored
Nov 30, 2022
by
rocosen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
8fdf1c5e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
main.ts
src/main/main.ts
+3
-3
App.css
src/renderer/App.css
+3
-0
No files found.
src/main/main.ts
View file @
d210e62c
...
...
@@ -98,8 +98,8 @@ ipcMain.on('resize-home', (event) => {
homeWindown
.
loadURL
(
resolveHtmlPath
(
`index.html#/home`
));
positioner
.
position
(
homeWindown
,
tray
.
getBounds
(),
alignment
);
isDev
&&
homeWindown
.
webContents
.
openDevTools
();
homeWindown
.
webContents
.
openDevTools
();
homeWindown
.
on
(
'ready-to-show'
,
()
=>
{
//
homeWindown.webContents.openDevTools();
homeWindown
.
on
ce
(
'ready-to-show'
,
()
=>
{
homeWindown
?.
show
();
});
...
...
@@ -170,7 +170,7 @@ const createWindow = async () => {
mainWindow
.
loadURL
(
resolveHtmlPath
(
'index.html'
));
// mainWindow.webContents.openDevTools();
mainWindow
.
on
(
'ready-to-show'
,
()
=>
{
mainWindow
.
on
ce
(
'ready-to-show'
,
()
=>
{
if
(
!
mainWindow
)
{
throw
new
Error
(
'"mainWindow" is not defined'
);
}
...
...
src/renderer/App.css
View file @
d210e62c
...
...
@@ -76,6 +76,7 @@ div::-webkit-scrollbar,
main
::-webkit-scrollbar
{
width
:
8px
;
height
:
5px
!important
;
-webkit-app-region
:
no-drag
;
}
div
::-webkit-scrollbar-track
,
...
...
@@ -84,6 +85,7 @@ main::-webkit-scrollbar-track {
-webkit-border-radius
:
2em
;
-moz-border-radius
:
2em
;
border-radius
:
2em
;
-webkit-app-region
:
no-drag
;
}
div
::-webkit-scrollbar-thumb
,
...
...
@@ -93,4 +95,5 @@ main::-webkit-scrollbar-thumb {
-moz-border-radius
:
4px
;
border-radius
:
4px
;
height
:
5px
!important
;
-webkit-app-region
:
no-drag
;
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment