don't show palette icon if color temp isn't supported (add nextion2text)

This commit is contained in:
joBr99
2022-03-23 10:13:32 +00:00
committed by GitHub Actions
parent 0d343d4919
commit 342a97df0f
2 changed files with 12 additions and 8 deletions

View File

@@ -844,7 +844,7 @@ Timer tmSerial
}
}else
{
mode_temp.val=0
mode_temp.val=1
vis hTempSlider,1
vis t3,1
vis t4,1
@@ -867,7 +867,11 @@ Timer tmSerial
}else
{
vis t0,1
vis bColor,1
//only enable bColor button if color temp is also supported
if(mode_temp.val==1)
{
vis bColor,1
}
if(mode.val==0)
{
vis pColorWheel,1