diff options
Diffstat (limited to 'spec/outputs/with.lua')
-rw-r--r-- | spec/outputs/with.lua | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/spec/outputs/with.lua b/spec/outputs/with.lua index 5d33bdb..1a795c1 100644 --- a/spec/outputs/with.lua +++ b/spec/outputs/with.lua | |||
@@ -158,17 +158,15 @@ do | |||
158 | } | 158 | } |
159 | end | 159 | end |
160 | do | 160 | do |
161 | do | 161 | local _with_0 = SolidRect({ |
162 | local _with_0 = SolidRect({ | 162 | width = w, |
163 | width = w, | 163 | height = h, |
164 | height = h, | 164 | color = 0x66000000 |
165 | color = 0x66000000 | 165 | }) |
166 | }) | 166 | mask = _with_0 |
167 | mask = _with_0 | 167 | if _with_0 ~= nil then |
168 | if _with_0 ~= nil then | 168 | _with_0.touchEnabled = true |
169 | _with_0.touchEnabled = true | 169 | _with_0.swallowTouches = true |
170 | _with_0.swallowTouches = true | ||
171 | end | ||
172 | end | 170 | end |
173 | end | 171 | end |
174 | do | 172 | do |