OSDN Git Service
(root)
/
bytom
/
bytom-electron.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c05e2b0
)
fix: set minWidthăminHeight
author
j
<coffce404@gmail.com>
Tue, 20 Jul 2021 10:00:34 +0000
(18:00 +0800)
committer
j
<coffce404@gmail.com>
Tue, 20 Jul 2021 10:00:34 +0000
(18:00 +0800)
main.js
patch
|
blob
|
history
diff --git
a/main.js
b/main.js
index
bcf5ecc
..
4327833
100644
(file)
--- a/
main.js
+++ b/
main.js
@@
-30,6
+30,8
@@
function initialize () {
win = new BrowserWindow({
width: 1024 + 238,
height: 768,
+ minHeight: 768,
+ minWidth: 1024,
titleBarStyle: 'hidden',
'webPreferences': {
'webSecurity': !process.env.DEV_URL,