Make debug view scrollable

This commit is contained in:
2023-05-24 00:44:32 +02:00
parent 58dd4ae8d3
commit 9466290ff3
5 changed files with 95 additions and 8 deletions

View File

@ -854,7 +854,7 @@
"CanvasBufferSize": 7200,
"Components": [
{
"Type": "ScrollList",
"Type": "ScrollWheel",
"Name": "list",
"X": 15,
"Y": 15,
@ -863,7 +863,7 @@
"IsCircular": true,
"ItemTemplateName": "DebugViewLine",
"NumberofItems": 1,
"Easing": "Back",
"Easing": "Linear",
"EasingOption": "Out",
"SwipeAcceleration": 1.0,
"DragAcceleration": 1.0
@ -917,7 +917,30 @@
"LineEndingStyle": "Round"
}
],
"Interactions": []
"Interactions": [
{
"InteractionName": "ScrollUp",
"Trigger": {
"Type": "TriggerPhysicalButtonClicked",
"ButtonKey": 104
},
"Action": {
"Type": "ActionCustom",
"FunctionName": "scrollUp"
}
},
{
"InteractionName": "ScrollDown",
"Trigger": {
"Type": "TriggerPhysicalButtonClicked",
"ButtonKey": 108
},
"Action": {
"Type": "ActionCustom",
"FunctionName": "scrollDown"
}
}
]
},
{
"Name": "VehicleConfig",