mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2025-12-20 14:37:01 +01:00
changed edge swipe behaviour on cardEntities
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -146,25 +146,33 @@ navigation = """
|
|||||||
if(tTmp.txt=="0")
|
if(tTmp.txt=="0")
|
||||||
{
|
{
|
||||||
vis bPrev,0
|
vis bPrev,0
|
||||||
|
tsw mSwipePrev,0
|
||||||
|
tsw mSwipeUp,0
|
||||||
}
|
}
|
||||||
if(tTmp.txt=="1")
|
if(tTmp.txt=="1")
|
||||||
{
|
{
|
||||||
vis bPrev,1
|
vis bPrev,1
|
||||||
|
tsw mSwipePrev,1
|
||||||
|
tsw mSwipeUp,0
|
||||||
bPrev.txt=""
|
bPrev.txt=""
|
||||||
}
|
}
|
||||||
if(tTmp.txt=="2")
|
if(tTmp.txt=="2")
|
||||||
{
|
{
|
||||||
vis bPrev,1
|
vis bPrev,1
|
||||||
|
tsw mSwipePrev,0
|
||||||
|
tsw mSwipeUp,1
|
||||||
bPrev.txt=""
|
bPrev.txt=""
|
||||||
}
|
}
|
||||||
spstr tId.txt,tTmp.txt,"|",1
|
spstr tId.txt,tTmp.txt,"|",1
|
||||||
if(tTmp.txt=="0")
|
if(tTmp.txt=="0")
|
||||||
{
|
{
|
||||||
vis bNext,0
|
vis bNext,0
|
||||||
|
tsw mSwipeNext,0
|
||||||
}
|
}
|
||||||
if(tTmp.txt=="1")
|
if(tTmp.txt=="1")
|
||||||
{
|
{
|
||||||
vis bNext,1
|
vis bNext,1
|
||||||
|
tsw mSwipeNext,1
|
||||||
bNext.txt=""
|
bNext.txt=""
|
||||||
}
|
}
|
||||||
"""
|
"""
|
||||||
BIN
HMI/nspanel.tft
BIN
HMI/nspanel.tft
Binary file not shown.
Reference in New Issue
Block a user