Do not show page index when only 1 page

Solves #1883
This commit is contained in:
Edward Firmo
2024-03-13 08:53:26 +01:00
parent bfe27f0693
commit b02f3c080a
22 changed files with 268 additions and 167 deletions

View File

@@ -20,20 +20,24 @@ Page buttonpage02
vis 255,0
vis button_back,1
vis page_label,1
if(is_buttonpage01==1)
sys0=is_buttonpage01+is_buttonpage02+is_buttonpage03+is_buttonpage04
if(sys0>1)
{
page_index.txt+="â—‹"
if(is_buttonpage01==1)
{
page_index.txt+="â—‹"
}
page_index.txt+="●"
if(is_buttonpage03==1)
{
page_index.txt+="â—‹"
}
if(is_buttonpage04==1)
{
page_index.txt+="â—‹"
}
vis page_index,1
}
page_index.txt+="●"
if(is_buttonpage03==1)
{
page_index.txt+="â—‹"
}
if(is_buttonpage04==1)
{
page_index.txt+="â—‹"
}
vis page_index,1
}
sendme