mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2026-03-04 09:06:52 +01:00
add popup page for input_select (add nextion2text)
This commit is contained in:
committed by
github-actions[bot]
parent
b9c50001af
commit
a8746d935d
@@ -1029,6 +1029,10 @@ Hotspot m2
|
||||
{
|
||||
page popupFan
|
||||
}
|
||||
if(type3.txt=="input_sel")
|
||||
{
|
||||
page popupInSel
|
||||
}
|
||||
|
||||
Hotspot m1
|
||||
Attributes
|
||||
@@ -1056,6 +1060,10 @@ Hotspot m1
|
||||
{
|
||||
page popupFan
|
||||
}
|
||||
if(type2.txt=="input_sel")
|
||||
{
|
||||
page popupInSel
|
||||
}
|
||||
|
||||
Hotspot m0
|
||||
Attributes
|
||||
@@ -1083,6 +1091,10 @@ Hotspot m0
|
||||
{
|
||||
page popupFan
|
||||
}
|
||||
if(type1.txt=="input_sel")
|
||||
{
|
||||
page popupInSel
|
||||
}
|
||||
|
||||
Hotspot m3
|
||||
Attributes
|
||||
@@ -1110,6 +1122,10 @@ Hotspot m3
|
||||
{
|
||||
page popupFan
|
||||
}
|
||||
if(type4.txt=="input_sel")
|
||||
{
|
||||
page popupInSel
|
||||
}
|
||||
|
||||
Hotspot mSwipeNext
|
||||
Attributes
|
||||
@@ -1342,7 +1358,7 @@ Timer tmSerial
|
||||
// get Text (optional Value)
|
||||
spstr strCommand.txt,bText1.txt,"~",8
|
||||
}
|
||||
if(type1.txt=="button")
|
||||
if(type1.txt=="button"||type1.txt=="input_sel")
|
||||
{
|
||||
vis bUp1,0
|
||||
vis bStop1,0
|
||||
@@ -1491,7 +1507,7 @@ Timer tmSerial
|
||||
// get Text (optional Value)
|
||||
spstr strCommand.txt,bText2.txt,"~",14
|
||||
}
|
||||
if(type2.txt=="button")
|
||||
if(type2.txt=="button"||type2.txt=="i")
|
||||
{
|
||||
vis bUp2,0
|
||||
vis bStop2,0
|
||||
@@ -1640,7 +1656,7 @@ Timer tmSerial
|
||||
// get Text (optional Value)
|
||||
spstr strCommand.txt,bText3.txt,"~",20
|
||||
}
|
||||
if(type3.txt=="button")
|
||||
if(type3.txt=="button"||type3.txt=="input_sel")
|
||||
{
|
||||
vis bUp3,0
|
||||
vis bStop3,0
|
||||
@@ -1789,7 +1805,7 @@ Timer tmSerial
|
||||
// get Text (optional Value)
|
||||
spstr strCommand.txt,bText4.txt,"~",26
|
||||
}
|
||||
if(type4.txt=="button")
|
||||
if(type4.txt=="button"||type4.txt=="input_sel")
|
||||
{
|
||||
vis bUp4,0
|
||||
vis bStop4,0
|
||||
|
||||
Reference in New Issue
Block a user