Sha256: 80b940b93ff828c4e764d9505be53152355793d115fd360aa6b4e04e7da241a3

Contents?: true

Size: 208 Bytes

Versions: 3

Compression:

Stored size: 208 Bytes

Contents

module Motion ; module Xray

  class XrayWindow < UIWindow

    def motionEnded(motion, withEvent:event)
      if event.type == UIEventSubtypeMotionShake
        Xray.toggle
      end
    end

  end

end end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
motion-xray-1.0.7 lib/motion-xray/views/xray_window.rb
motion-xray-1.0.6 lib/motion-xray/views/xray_window.rb
motion-xray-1.0.4 lib/motion-xray/views/xray_window.rb