update
This commit is contained in:
parent
3785e5700a
commit
626e4b331a
5 changed files with 13 additions and 5 deletions
|
@ -2,4 +2,4 @@
|
|||
import WebViewControls from "../webview-navigation/TopBar.astro"
|
||||
---
|
||||
<WebViewControls />
|
||||
<webview class="fullview with-controls" src="https://notes.korbsstudio.com/nexus-polestar/webview.html"></webview>
|
||||
<webview class="fullview with-controls" src="https://sudovanilla.com/"></webview>
|
|
@ -1 +1 @@
|
|||
<webview class="fullview" src="https://notes.korbsstudio.com/nexus-polestar/webview.html"></webview>
|
||||
<webview class="fullview" src="https://sudovanilla.com/"></webview>
|
|
@ -17,6 +17,7 @@ import '../styles/os.scss'
|
|||
---
|
||||
<script src="./scripts/navigation.js" crossorigin="anonymous"></script>
|
||||
<script src="./scripts/theme.js" crossorigin="anonymous"></script>
|
||||
<script src="./scripts/toggle.js" crossorigin="anonymous"></script>
|
||||
<script src="./scripts/webview.js" crossorigin="anonymous"></script>
|
||||
<script defer src="./font-awesome-6.3.0/js/all.js"></script>
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
[os="Mac"] .sidebar-header {
|
||||
[os="Mac"] .sidebar-header-left {
|
||||
pointer-events: none;
|
||||
opacity: 0;
|
||||
}
|
|
@ -1,4 +1,5 @@
|
|||
const {app, Menu} = require('electron')
|
||||
let Platform = require('./platform')
|
||||
|
||||
module.exports = {
|
||||
MainMenu: function() {
|
||||
|
@ -53,8 +54,14 @@ module.exports = {
|
|||
{
|
||||
label: 'View',
|
||||
submenu: [
|
||||
{ role: 'reload' },
|
||||
{ role: 'forceReload' },
|
||||
{
|
||||
label: 'Reload',
|
||||
accelerator: 'CmdOrCtrl+R',
|
||||
click: async () => {
|
||||
mainWindow.reload()
|
||||
setTimeout(() => {Platform.Class()}, 1000)
|
||||
}
|
||||
},
|
||||
{ role: 'toggleDevTools' },
|
||||
{
|
||||
label: 'Open WebView Developer Tools',
|
||||
|
|
Reference in a new issue