Sha256: faa9b63dee933b159bf449c0aca539e65fc3e7178d11fe80a0ed2fa52a140d5d

Contents?: true

Size: 268 Bytes

Versions: 1

Compression:

Stored size: 268 Bytes

Contents

module Motion ; module Xray

  class XrayWindow < UIWindow

    def motionEnded(motion, withEvent:event)
      if RUBYMOTION_ENV == 'development' && event.type == UIEventSubtypeMotionShake
        Xray.toggle
      else
        super
      end
    end

  end

end end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
motion-xray-1.0.8 lib/motion-xray/views/xray_window.rb