[Bugs] #2353 UNSP: turtle art should allow reskinning of Turtle

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Thu Sep 23 04:08:08 EDT 2010


#2353: turtle art should allow reskinning of Turtle
------------------------------------------+---------------------------------
    Reporter:  walter                     |          Owner:  walter                     
        Type:  enhancement                |         Status:  new                        
    Priority:  Unspecified by Maintainer  |      Milestone:  Unspecified by Release Team
   Component:  Turtleart                  |        Version:  Unspecified                
    Severity:  Unspecified                |       Keywords:                             
Distribution:  Unspecified                |   Status_field:  Unconfirmed                
------------------------------------------+---------------------------------

Comment(by walter):

 I fixed the drag problem, which was the convolution of two bugs: (1) I
 wasn't detecting cases where the pixbuf didn't have an alpha channel,
 causing the selection to fail; and (2) I was not considering the size of
 the pixbuf when calculating drag vs. rotate.

 In regard to the former, see
 http://git.sugarlabs.org/projects/turtleart/repos/mainline/commits/75e61909eb0cc991bedbe81e932f797d4604438c

 In regard to the latter, a quick fix, which disables rotation with the
 mouse of reskinned turtles:
 http://git.sugarlabs.org/projects/turtleart/repos/mainline/commits/f4d2e79444e6698fa6ce18446797e85720e06fce

 I may try calculating a new threshold on the fly, but this version gets
 most of the job done.

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


More information about the Bugs mailing list