Skip to content

Commit

Permalink
repair refresh crash
Browse files Browse the repository at this point in the history
  • Loading branch information
NotBlue-Dev committed Jun 13, 2021
1 parent 11327a1 commit 2fd2395
Show file tree
Hide file tree
Showing 21 changed files with 1,537 additions and 74 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
node_modules/*
.vscode/*
db.sqlite
db.sqlite
dist/*
2 changes: 1 addition & 1 deletion issue.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
can't show layout two time, crash the second time

pos not center if first block not on 00
2 changes: 1 addition & 1 deletion layout/436972636c65/preview.txt

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion layout/44656661756c74/preview.txt

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion layout/5465737431/preview.txt

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions layout/616161616161617a7265656765/aaaaaaazreege.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[2,100,[{"panelId":6,"x":"50","y":"100","o":0,"shapeType":3},{"panelId":24,"x":"0","y":"0","o":0,"shapeType":2}]]
1 change: 1 addition & 0 deletions layout/616161616161617a7265656765/preview.txt

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion layout/77616c6c/preview.txt

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions main.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
const {app, BrowserWindow} = require('electron')
const path = require('path')


function createWindow () {
const mainWindow = new BrowserWindow({
width: 800,
Expand All @@ -9,6 +10,7 @@ function createWindow () {
nodeIntegration: true,
contextIsolation: false,
enableRemoteModule: true,

}
})
mainWindow.setMinimumSize(1300, 750);
Expand All @@ -18,6 +20,7 @@ function createWindow () {
mainWindow.loadFile('view/menu/index.html');
}

app.allowRendererProcessReuse = false;
app.whenReady().then(() => {
createWindow()

Expand Down
Loading

0 comments on commit 2fd2395

Please sign in to comment.