[Bugs] #2502 UNSP: Turtleart tamyblock mouse in turtle coordinates

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Sat Nov 20 21:52:42 EST 2010


#2502: Turtleart tamyblock  mouse in turtle coordinates
------------------------------------------+---------------------------------
    Reporter:  tonyforster                |          Owner:  walter                     
        Type:  enhancement                |         Status:  closed                     
    Priority:  Unspecified by Maintainer  |      Milestone:  Unspecified by Release Team
   Component:  Turtleart                  |        Version:  Unspecified                
    Severity:  Unspecified                |     Resolution:  fixed                      
    Keywords:                             |   Status_field:  Unconfirmed                
Distribution:  Unspecified                |      Seeta_dev:                             
------------------------------------------+---------------------------------
Changes (by walter):

  * status:  new => closed
  * resolution:  => fixed


Comment:

 http://git.sugarlabs.org/turtleart/mainline/commit/8aad41077510f1b488a580b48cac038146fd389c

 This should map to turtle coordinates:

         lc.heap.append((lc.tw.canvas.height / 2) - lc.tw.mouse_y)
         lc.heap.append(lc.tw.mouse_x - (lc.tw.canvas.width / 2))

 Will be incorporated into v104.

-- 
Ticket URL: <http://bugs.sugarlabs.org/ticket/2502#comment:1>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list