Add "Toggle Dashboard" button to the WayVR example watch config (#166)

This commit is contained in:
AdiMCS
2025-02-27 18:07:55 -07:00
committed by GitHub
parent 507ff7353e
commit e66a8d27c9

View File

@@ -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"