diff options
| author | Li Jin <dragon-fly@qq.com> | 2025-03-23 17:25:28 +0800 |
|---|---|---|
| committer | Li Jin <dragon-fly@qq.com> | 2025-03-23 17:25:28 +0800 |
| commit | 08b68269ff6d6f868242dcefce75e1db26e4de61 (patch) | |
| tree | 3c63e851edc5baa49ad0d180021c2ddecd77f013 /spec/outputs/with.lua | |
| parent | 28bae6517f43c384a828df62b727517e26b3af9b (diff) | |
| download | yuescript-08b68269ff6d6f868242dcefce75e1db26e4de61.tar.gz yuescript-08b68269ff6d6f868242dcefce75e1db26e4de61.tar.bz2 yuescript-08b68269ff6d6f868242dcefce75e1db26e4de61.zip | |
Fixed issue #198.
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 |
