diff --git a/common/modules/mixly-modules/common/app.js b/common/modules/mixly-modules/common/app.js index 3c30d841..25893d52 100644 --- a/common/modules/mixly-modules/common/app.js +++ b/common/modules/mixly-modules/common/app.js @@ -219,7 +219,7 @@ class App extends Component { }, callback: () => BU.initBurn(), scopeType: Nav.Scope.LEFT, - weight: 4 + weight: 3 }); this.#nav_.register({ diff --git a/common/modules/mixly-modules/electron/arduino-shell.js b/common/modules/mixly-modules/electron/arduino-shell.js index d523e720..dd2f25cf 100644 --- a/common/modules/mixly-modules/electron/arduino-shell.js +++ b/common/modules/mixly-modules/electron/arduino-shell.js @@ -329,10 +329,12 @@ ArduShell.upload = (boardType, port) => { } ArduShell.runCmd(layerNum, 'upload', cmdStr, function () { - mainStatusBarTabs.add('serial', port); - mainStatusBarTabs.changeTo(port); - const statusBarSerial = mainStatusBarTabs.getStatusBarById(port); - statusBarSerial.open(); + setTimeout(() => { + mainStatusBarTabs.add('serial', port); + mainStatusBarTabs.changeTo(port); + const statusBarSerial = mainStatusBarTabs.getStatusBarById(port); + statusBarSerial.open(); + }, 1000); } ); } @@ -492,7 +494,6 @@ ArduShell.runCmd = (layerNum, type, cmd, sucFunc) => { layer.close(layerNum); let message = ''; if (info.code) { - message = (type === 'compile' ? Msg.Lang['shell.compileFailed'] : Msg.Lang['shell.uploadFailed']); statusBarTerminal.addValue("==" + message + "==\n"); } else { diff --git a/common/templates/html/lib-manager-div.html b/common/templates/html/lib-manager-div.html index fd64dd0b..5dee14df 100644 --- a/common/templates/html/lib-manager-div.html +++ b/common/templates/html/lib-manager-div.html @@ -27,6 +27,10 @@ border-left-width: 10px; } + #libs-menu-options > li > a { + cursor: pointer; + } + #libs-menu-body { position: absolute; right: 0px; @@ -148,10 +152,10 @@ lay-filter="libs-menu-filter" >