motion-xray 1.0.7 → 1.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/Rakefile +1 -0
- data/lib/motion-xray.rb +1 -0
- data/lib/motion-xray/version.rb +1 -1
- data/lib/motion-xray/views/xray_window.rb +3 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 13d588a2325973f2c3a1bdaf28441fb474ae8b48
|
4
|
+
data.tar.gz: 5942736dcd0c267f20f752bf60d5119bbbd3f39f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aa169e074c04d5f1ba0d17ea5d2102a3b819211c344fc14cad62f2b79d25b3282cecc11a10f4d189063ace846f2bdc4a12a8205ec49fa0ba689273cee01f7ce6
|
7
|
+
data.tar.gz: 33bc08632d354e762d7059124f08c474851cc6598efc78e09ca7e8909b58f21d9ba7374a1963925b18de2b9effd7160b0bc4a7e3ebda8d487d9dae97e7fcd112
|
data/Gemfile.lock
CHANGED
data/Rakefile
CHANGED
data/lib/motion-xray.rb
CHANGED
data/lib/motion-xray/version.rb
CHANGED
@@ -3,8 +3,10 @@ module Motion ; module Xray
|
|
3
3
|
class XrayWindow < UIWindow
|
4
4
|
|
5
5
|
def motionEnded(motion, withEvent:event)
|
6
|
-
if event.type == UIEventSubtypeMotionShake
|
6
|
+
if RUBYMOTION_ENV == 'development' && event.type == UIEventSubtypeMotionShake
|
7
7
|
Xray.toggle
|
8
|
+
else
|
9
|
+
super
|
8
10
|
end
|
9
11
|
end
|
10
12
|
|