add visible bounds caching by UIElementPath

This commit is contained in:
chris-benua
2023-08-03 11:34:50 +03:00
parent 82784a9c77
commit 06d6c5cf0e
35 changed files with 526 additions and 53 deletions
@@ -0,0 +1,11 @@
{
"type": "text",
"text": "text",
"visibility": "gone",
"visibility_actions": [
{
"log_id": "some",
"log_limit": 0
}
]
}
@@ -0,0 +1,12 @@
{
"type": "text",
"text": "text",
"visibility": "invisible",
"visibility_actions": [
{
"log_id": "some",
"log_limit": 0
}
]
}
@@ -0,0 +1,12 @@
{
"type": "text",
"text": "text",
"visibility": "visibile",
"visibility_actions": [
{
"log_id": "some",
"log_limit": 0,
"visibility_duration": 0
}
]
}
@@ -0,0 +1,28 @@
{
"log_id": "sample_card",
"states": [
{
"state_id": 0,
"div": {
"type": "text",
"text": "state zero",
"visibility_action": {
"log_id": "zero state visible",
"log_limit": 0
}
}
},
{
"state_id": 1,
"div": {
"type": "text",
"text": "state first",
"visibility_action": {
"log_id": "first state visible",
"log_limit": 0
}
}
}
]
}
@@ -0,0 +1,28 @@
{
"type": "state",
"id": "mystate",
"states": [
{
"state_id": "first",
"div": {
"type": "text",
"text": "state first",
"visibility_action": {
"log_id": "first state visible",
"log_limit": 0
}
}
},
{
"state_id": "second",
"div": {
"type": "text",
"text": "seconds first",
"visibility_action": {
"log_id": "second state visible",
"log_limit": 0
}
}
}
]
}