Skip to content

Commit e66a8d2

Browse files
authored
Add "Toggle Dashboard" button to the WayVR example watch config (#166)
1 parent 507ff73 commit e66a8d2

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

contrib/wayvr/watch_wayvr_example.yaml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,21 @@ elements:
2828
target: settings
2929
action: Destroy # only triggers if exists since before current frame
3030

31+
# Dashboard toggle button
32+
- type: Button
33+
rect: [32, 162, 48, 36]
34+
corner_radius: 4
35+
font_size: 15
36+
bg_color: "#2288FF"
37+
fg_color: "#24273a"
38+
text: "Dash"
39+
click_up:
40+
- type: WayVR
41+
action: ToggleDashboard
42+
3143
# Keyboard button
3244
- type: Button
33-
rect: [32, 162, 60, 36]
45+
rect: [84, 162, 48, 36]
3446
corner_radius: 4
3547
font_size: 15
3648
fg_color: "#24273a"
@@ -65,7 +77,7 @@ elements:
6577

6678
# bottom row, of keyboard + overlays
6779
- type: OverlayList
68-
rect: [94, 160, 306, 40]
80+
rect: [134, 160, 266, 40]
6981
corner_radius: 4
7082
font_size: 15
7183
fg_color: "#cad3f5"

0 commit comments

Comments
 (0)