variant: fix standalone colors in generator #188

This commit is contained in:
Sören Weber 2022-02-19 01:24:35 +01:00
parent 88a7b03b4f
commit 864d1d83ab
No known key found for this signature in database
GPG key ID: 07D17FF580AE7589

View file

@ -127,6 +127,9 @@ function generateGraph(){
if( e.fallback ){
g_edges += ' ' + e.fallback+':::'+e.fallback+' --> '+e.name+':::'+e.name+';\n';
}
else{
g_edges += ' ' +e.name+':::'+e.name+';\n';
}
g_handler += ' click '+e.name+' changeColor\n';
});
@ -163,7 +166,6 @@ function generateGraph(){
g_groups[ 'colored boxes' ].reduce( function( a, e ){ return a + ' ' + e + '\n'; }, '' ) +
' end\n' +
' end\n' +
' class MENU-SECTIONS-BG-color menu\n' +
g_edges +
g_handler;