Skip to content

Commit

Permalink
Small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
NAmorim committed Dec 28, 2021
1 parent 66b7133 commit ca60447
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions electron-wrapper.js
Original file line number Diff line number Diff line change
Expand Up @@ -342,15 +342,6 @@ function createMainMenus() {
}

function createConsoleMenus () {

function uiActive() {
if(mainWindow.isVisible()) {
return false
} else {
return true
}
}

const consoleTemplate = [
{
label: 'File',
Expand Down Expand Up @@ -390,7 +381,7 @@ function createConsoleMenus () {
{
label: 'Show UI',
id: 'ui',
click () {mainWindow.isVisible() ? true : mainWindow.show()}
click () {mainWindow.isVisible() ? mainWindow.focus() : mainWindow.show()}
}
]

Expand Down

0 comments on commit ca60447

Please sign in to comment.