Hi,

I get the coordinates of a shape only in the second instance of the code
below. Is this a bug or something I am missing out on?

Thanks


Shoes.app :width => 500, :height => 500, :resizable => false do
  fill rgb(255,0,0)
  @o = oval 20,20,50,50
  Shoes.p @o.left

  @l = oval
  @l.style(:top => 20, :left => 60, :width => 50, :height => 50)
  Shoes.p @l.left

  flow do
    @m = oval
    @m.style(:top => 20, :left => 100,  :width => 50, :height => 50 )
    Shoes.p @m.left
  end
end

Reply via email to