aboutsummaryrefslogtreecommitdiff
path: root/spec/inputs/with.yue
diff options
context:
space:
mode:
Diffstat (limited to 'spec/inputs/with.yue')
-rw-r--r--spec/inputs/with.yue13
1 files changed, 13 insertions, 0 deletions
diff --git a/spec/inputs/with.yue b/spec/inputs/with.yue
index d88e109..fe140ac 100644
--- a/spec/inputs/with.yue
+++ b/spec/inputs/with.yue
@@ -121,3 +121,16 @@ do
121 with dad 121 with dad
122 .if "yes" 122 .if "yes"
123 y = .end.of.function 123 y = .end.of.function
124
125do
126 global mask
127 with? mask = SolidRect width: w, height: h, color: 0x66000000
128 .touchEnabled = true
129 .swallowTouches = true
130
131do
132 with? mask = SolidRect width: w, height: h, color: 0x66000000
133 .touchEnabled = true
134 .swallowTouches = true
135
136nil