nn 8 سال پیش
والد
کامیت
df48fda80d
3فایلهای تغییر یافته به همراه3 افزوده شده و 4 حذف شده
  1. 1 1
      resources/app/history.html
  2. 0 1
      resources/app/public/css/browser.css
  3. 2 2
      resources/app/start.js

+ 1 - 1
resources/app/history.html

@@ -8,7 +8,7 @@
     <link rel="stylesheet" href="./public/css/uform.css">
     <link rel="stylesheet" href="./public/css/browser.css">
 </head>
-<body>
+<body style="overflow: hidden">
 <section style="-webkit-app-region: drag" class="bowerHeader">
     <section style="-webkit-app-region: no-drag" class="bowerHeaderMenu clearfix">
         <button type="button" class="icon-times newBrowserClose" style="font-size:16px"></button>

+ 0 - 1
resources/app/public/css/browser.css

@@ -10,7 +10,6 @@
 body{
     margin: 0;
     padding: 0;
-    overflow: hidden;
 }
 ul,li{
     margin: 0;

+ 2 - 2
resources/app/start.js

@@ -47,7 +47,7 @@ function createWindow() {
         protocol: 'file:',
         slashes: true
     }));
-    BrowserHistory.hide();
+    // BrowserHistory.hide();
     ipc.on('BrowserHistory-show-window', function () {//显示
         if(BrowserHistory){
             BrowserHistory.hide();
@@ -75,7 +75,7 @@ function createWindow() {
         BrowserHistory.hide();
         BrowserHistory = null
     });
-    // BrowserHistory.webContents.openDevTools();
+    BrowserHistory.webContents.openDevTools();
     BrowserHistory.on('closed', function () {
         BrowserHistory = null
     });