- load last preset option

- fader handle helper & touch-active background color fix
This commit is contained in:
Jean-Emmanuel 2015-09-29 21:38:46 +02:00
parent d3c024194b
commit 955364a019
8 changed files with 279 additions and 70 deletions

View file

@ -118,6 +118,11 @@ init = function(session,callback) {
click:loadState,
icon:'folder-open'
},
{
label:'Load last state',
click:loadLastState,
icon:'history'
},
{
label:'Send all',
click:sendState,

View file

@ -18,6 +18,9 @@ getState = function (){
loadState = function() {
ipc.send('load')
}
loadLastState = function() {
ipc.send('loadlast')
}
sendState = function(){
var data = getState().join('\n')