clean
This commit is contained in:
parent
97ab1a7b15
commit
4c837e843c
3 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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.')
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue