mirror of
https://github.com/lone-cloud/gerbil
synced 2026-06-03 19:54:44 -07:00
remove a few monkey patches, fix rare js crash on exit
This commit is contained in:
parent
8ddc952079
commit
ffdfd602fe
2 changed files with 1 additions and 19 deletions
|
|
@ -21,9 +21,6 @@ export const KLITE_CSS_OVERRIDE = `
|
||||||
padding: 0 10px;
|
padding: 0 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#actionmenuitems {
|
|
||||||
margin-left: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#navbarNavDropdown {
|
#navbarNavDropdown {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
|
@ -47,21 +44,6 @@ export const KLITE_CSS_OVERRIDE = `
|
||||||
#inputrow.show_mode > :nth-child(3) button:hover {
|
#inputrow.show_mode > :nth-child(3) button:hover {
|
||||||
background-color: #058105;
|
background-color: #058105;
|
||||||
}
|
}
|
||||||
|
|
||||||
#actionmenuitems + div {
|
|
||||||
margin-right: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#actionmenuitems + div input[type=checkbox] {
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
#actionmenuitems button, #actionmenuitems2 button {
|
|
||||||
background-color: #337ab7 !important;
|
|
||||||
}
|
|
||||||
#actionmenuitems button:hover, #actionmenuitems2 button:hover {
|
|
||||||
background-color: #286090 !important;
|
|
||||||
}
|
|
||||||
</style>`;
|
</style>`;
|
||||||
|
|
||||||
export const KLITE_AUTOSCROLL_PATCHES = `
|
export const KLITE_AUTOSCROLL_PATCHES = `
|
||||||
|
|
|
||||||
|
|
@ -86,7 +86,7 @@ export function createMainWindow() {
|
||||||
: null;
|
: null;
|
||||||
|
|
||||||
const saveBounds = () => {
|
const saveBounds = () => {
|
||||||
if (mainWindow) {
|
if (mainWindow && !mainWindow.isDestroyed()) {
|
||||||
const isMaximized = mainWindow.isMaximized();
|
const isMaximized = mainWindow.isMaximized();
|
||||||
const currentBounds = mainWindow.getBounds();
|
const currentBounds = mainWindow.getBounds();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue