#1010: NSPoint/CGpoint =>NaN --------------------------------------+------------------------------------- Reporter: zalavariandris@… | Owner: lsansonetti@… Type: defect | Status: new Priority: trivial | Milestone: MacRuby 0.8 Component: MacRuby | Keywords: NSPoint, CGPoint, 32Bit, NaN, NSEVent --------------------------------------+------------------------------------- NSEvent.mouseLocation result in an NSPoint without the corresponding values. I have the same bug when getting the position of a CALayer. irb(main):003:0> NSEvent.mouseLocation => #<NSPoint x=NaN y=NaN> irb(main):007:0> layer=CALayer.new => #<CALayer:0x1b7a100> irb(main):008:0> layer.position => #<CGPoint x=NaN y=NaN> Macruby 0.8 | Ruby 1.9.2 MacOSX 01.6.5 (32bit ) -- Ticket URL: <http://www.macruby.org/trac/ticket/1010> MacRuby <http://macruby.org/>