File tree Expand file tree Collapse file tree 5 files changed +360
-345
lines changed
Expand file tree Collapse file tree 5 files changed +360
-345
lines changed Original file line number Diff line number Diff line change 22
33### Development versions after the 0.10.2 release
44
5+ #### Build 2011220
6+
7+ - Fixed invalid save when modifying preset before refresh (might be related to #1361 )
8+ - Fixed brightness factor ignored on realtime timeout (fixes #1363 )
9+ - Fixed Phase and Chase effects with LED counts >256 (PR #1366 )
10+
511#### Build 2011210
612
713- Fixed Brightness slider beneath color wheel not working (fixes #1360 )
Original file line number Diff line number Diff line change 21812181 } else if ( raw . indexOf ( '{' ) > - 1 ) {
21822182 d . getElementById ( `p${ i } warn` ) . innerHTML = "⚠ Syntax error in custom JSON API command" ;
21832183 return ;
2184- }
2184+ } else if ( raw . indexOf ( "Please" ) == 0 ) {
2185+ d . getElementById ( `p${ i } warn` ) . innerHTML = "⚠ Please refresh the page before modifying this preset" ;
2186+ return ;
2187+ }
21852188 }
21862189 obj [ "o" ] = true ;
21872190 } else {
23672370 var p = i - 100 ;
23682371 d . getElementById ( `p${ p } o` ) . style . background = ( expanded [ i ] || p != currentPreset ) ?"var(--c-2)" :"var(--c-6)" ;
23692372 if ( d . getElementById ( 'seg' + i ) . innerHTML == "" ) {
2370- d . getElementById ( 'seg' + i ) . innerHTML = makeP ( p ) ;
2371- d . getElementById ( `p${ p } api` ) . value = papiVal ( p ) ;
2372- tglCs ( p ) ;
2373+ d . getElementById ( 'seg' + i ) . innerHTML = makeP ( p ) ;
2374+ var papi = papiVal ( p ) ;
2375+ d . getElementById ( `p${ p } api` ) . value = papi ;
2376+ if ( papi . indexOf ( "Please" ) == 0 ) d . getElementById ( `p${ p } cstgl` ) . checked = true ;
2377+ tglCs ( p ) ;
23732378 }
23742379 }
23752380}
You can’t perform that action at this time.
0 commit comments