mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2026-03-02 05:06:51 +01:00
add popup page for input_select (add nextion2text)
This commit is contained in:
committed by
github-actions[bot]
parent
b9c50001af
commit
a8746d935d
@@ -1927,6 +1927,10 @@ Hotspot m2
|
||||
{
|
||||
page popupFan
|
||||
}
|
||||
if(type3.txt=="input_sel")
|
||||
{
|
||||
page popupInSel
|
||||
}
|
||||
|
||||
Hotspot m1
|
||||
Attributes
|
||||
@@ -1963,6 +1967,10 @@ Hotspot m1
|
||||
{
|
||||
page popupFan
|
||||
}
|
||||
if(type2.txt=="input_sel")
|
||||
{
|
||||
page popupInSel
|
||||
}
|
||||
|
||||
Hotspot m0
|
||||
Attributes
|
||||
@@ -1999,6 +2007,10 @@ Hotspot m0
|
||||
{
|
||||
page popupFan
|
||||
}
|
||||
if(type1.txt=="input_sel")
|
||||
{
|
||||
page popupInSel
|
||||
}
|
||||
|
||||
Hotspot m3
|
||||
Attributes
|
||||
@@ -2035,6 +2047,10 @@ Hotspot m3
|
||||
{
|
||||
page popupFan
|
||||
}
|
||||
if(type4.txt=="input_sel")
|
||||
{
|
||||
page popupInSel
|
||||
}
|
||||
|
||||
Hotspot mSwipeNext
|
||||
Attributes
|
||||
@@ -2295,7 +2311,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
|
||||
@@ -2444,7 +2460,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
|
||||
@@ -2593,7 +2609,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
|
||||
@@ -2742,7 +2758,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