Add "Toggle Dashboard" button to the WayVR example watch config (#166)
This commit is contained in:
@@ -28,9 +28,21 @@ elements:
|
|||||||
target: settings
|
target: settings
|
||||||
action: Destroy # only triggers if exists since before current frame
|
action: Destroy # only triggers if exists since before current frame
|
||||||
|
|
||||||
|
# Dashboard toggle button
|
||||||
|
- type: Button
|
||||||
|
rect: [32, 162, 48, 36]
|
||||||
|
corner_radius: 4
|
||||||
|
font_size: 15
|
||||||
|
bg_color: "#2288FF"
|
||||||
|
fg_color: "#24273a"
|
||||||
|
text: "Dash"
|
||||||
|
click_up:
|
||||||
|
- type: WayVR
|
||||||
|
action: ToggleDashboard
|
||||||
|
|
||||||
# Keyboard button
|
# Keyboard button
|
||||||
- type: Button
|
- type: Button
|
||||||
rect: [32, 162, 60, 36]
|
rect: [84, 162, 48, 36]
|
||||||
corner_radius: 4
|
corner_radius: 4
|
||||||
font_size: 15
|
font_size: 15
|
||||||
fg_color: "#24273a"
|
fg_color: "#24273a"
|
||||||
@@ -65,7 +77,7 @@ elements:
|
|||||||
|
|
||||||
# bottom row, of keyboard + overlays
|
# bottom row, of keyboard + overlays
|
||||||
- type: OverlayList
|
- type: OverlayList
|
||||||
rect: [94, 160, 306, 40]
|
rect: [134, 160, 266, 40]
|
||||||
corner_radius: 4
|
corner_radius: 4
|
||||||
font_size: 15
|
font_size: 15
|
||||||
fg_color: "#cad3f5"
|
fg_color: "#cad3f5"
|
||||||
|
|||||||
Reference in New Issue
Block a user