Skip to content

Commit

Permalink
Small tweaks for mod-app
Browse files Browse the repository at this point in the history
Signed-off-by: falkTX <falktx@falktx.com>
  • Loading branch information
falkTX committed Oct 28, 2023
1 parent e35ac8a commit a5f2640
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions html/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -187,9 +187,6 @@
$('#mod-status').show().statusTooltip('updatePosition')
}

if (PREFERENCES['dev-mode'] == "on") {
enable_dev_mode(true)
}
if (PREFERENCES['plugins-folded'] == "true") {
desktop.effectBox.effectBox('toggle')
}
Expand All @@ -200,6 +197,10 @@

if ({{using_app}}) {
desktop.setupApp()
} else {
if (PREFERENCES['dev-mode'] == "on") {
enable_dev_mode(true)
}
}

// start code for ajax loading bar
Expand Down
2 changes: 1 addition & 1 deletion html/js/hardware.js
Original file line number Diff line number Diff line change
Expand Up @@ -799,7 +799,7 @@ function HardwareManager(options) {
btn.addClass('selected')
}
// Hide Device tab under mod-app
if (jbtn.attr('data-value') === deviceOption && options.isApp()) {
if (options.isApp() && (jbtn.attr('data-value') === deviceOption || jbtn.attr('data-value') === ccOption)) {
jbtn.hide()
}
// Hide MIDI tab if not available
Expand Down

0 comments on commit a5f2640

Please sign in to comment.