This commit is contained in:
bordun 2020-03-17 17:53:36 +01:00
parent 97ab1a7b15
commit 4c837e843c
3 changed files with 3 additions and 3 deletions

View file

@ -79,7 +79,7 @@ module.exports = class Keyboard extends Panel {
var data = JSON.parse(strData)
data.top = data.left = data.height = data.width = 'auto'
data.type = 'toggle'
data.type = 'button'
data.mode = this.getProp('toggles') ? 'toggle' : 'push'
data.id = this.getProp('id') + '/' + i
data.label = false

View file

@ -65,7 +65,7 @@ module.exports = class Rgb extends Widget {
this.hue = new HueFader({props:{
...faderDefaults,
type: 'fader',
design: 'default',
design: 'compact',
label: false,
pips:false,
horizontal:false,

View file

@ -145,7 +145,7 @@ if (configPathExists) {
configFile = function(){try {return JSON.parse(fs.readFileSync(configPath,'utf-8'))} catch(err) {return {}}}()
config = JSON.parse(JSON.stringify(configFile))
}
console.log(configPath)
if (!configPath) {
console.warn('(WARNING) Config directory not found, settings and session history will not be saved.')
}