Remove duplicate SS_button

This commit is contained in:
gigi.mamaladze 2025-05-25 15:38:31 +04:00
parent 433f626d38
commit bc6ef924fa
3 changed files with 0 additions and 84 deletions

View File

@ -1,17 +0,0 @@
{
"scope": "G",
"version": 1,
"restricted": false,
"overridable": false,
"files": [
"view.json",
"thumbnail.png",
"ss-button.svg"
],
"attributes": {
"lastModification": {
"actor": "admin",
"timestamp": "2025-05-24T18:00:00Z"
}
}
}

View File

@ -1,67 +0,0 @@
{
"custom": {
"SSState": 0
},
"params": {
"tagPath": ""
},
"propConfig": {
"props.style.classes": {
"binding": {
"type": "property",
"config": {
"path": "view.custom.SSState",
"transforms": [
{
"type": "map",
"inputType": "scalar",
"outputType": "style-list",
"mappings": [
{ "input": 0, "output": "Buttons/SS-Stop" },
{ "input": 1, "output": "Buttons/SS-Start" }
],
"fallback": "Buttons/SS-Stop"
}
]
}
}
}
},
"props": {
"style": { "cursor": "pointer" }
},
"root": {
"type": "ia.container.coord",
"props": {
"aspectRatio": "1:1",
"mode": "percent"
},
"children": [
{
"type": "ia.container.image",
"props": {
"source": {
"type": "file",
"path": "SS_button/ss-button.svg"
},
"style": {
"width": "100%",
"height": "100%"
}
},
"events": {
"onClick": {
"type": "propertyChange",
"config": {
"property": "custom.SSState",
"value": {
"type": "script",
"script": "return !self.custom.SSState;"
}
}
}
}
}
]
}
}