diff --git a/astro/components/pages/Tab3.astro b/astro/components/pages/Tab3.astro index 4405fdb..0f2b0bb 100644 --- a/astro/components/pages/Tab3.astro +++ b/astro/components/pages/Tab3.astro @@ -2,4 +2,4 @@ import WebViewControls from "../webview-navigation/TopBar.astro" --- - \ No newline at end of file + \ No newline at end of file diff --git a/astro/components/pages/Tab3A.astro b/astro/components/pages/Tab3A.astro index 581f113..de1620e 100644 --- a/astro/components/pages/Tab3A.astro +++ b/astro/components/pages/Tab3A.astro @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/astro/layouts/App.astro b/astro/layouts/App.astro index 1c7de8a..a4f67c9 100644 --- a/astro/layouts/App.astro +++ b/astro/layouts/App.astro @@ -17,6 +17,7 @@ import '../styles/os.scss' --- + diff --git a/astro/styles/os.scss b/astro/styles/os.scss index ccd6bac..9030188 100644 --- a/astro/styles/os.scss +++ b/astro/styles/os.scss @@ -1,4 +1,4 @@ -[os="Mac"] .sidebar-header { +[os="Mac"] .sidebar-header-left { pointer-events: none; opacity: 0; } \ No newline at end of file diff --git a/electron/menu.js b/electron/menu.js index 75962da..cc48cc0 100644 --- a/electron/menu.js +++ b/electron/menu.js @@ -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',