[Bugs] #1557 UNSP: Moving tiles in TurtleArt let a trace on the screen

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Sun Nov 15 16:34:27 EST 2009


#1557: Moving tiles in TurtleArt let a trace on the screen
------------------------------------------+---------------------------------
    Reporter:  sayamindu                  |          Owner:  walter                     
        Type:  defect                     |         Status:  new                        
    Priority:  Unspecified by Maintainer  |      Milestone:  Unspecified by Release Team
   Component:  Turtleart                  |        Version:  Unspecified                
    Severity:  Unspecified                |       Keywords:                             
Distribution:  OLPC                       |   Status_field:  Unconfirmed                
------------------------------------------+---------------------------------
 From http://dev.laptop.org/ticket/9678:

 In TurtleArt, moving tiles with number (forward, left, ...) let a trace on
 the screen. The trace disappear when the screen is refreshed. It seems
 that the font size used for number is too large.

 It seems that changing the default font-size helps.

 {{{
 diff --git a/tasprites.py b/tasprites.py
 index 7065b16..56da3a1 100644
 --- a/tasprites.py
 +++ b/tasprites.py
 @@ -157,7 +157,7 @@ def draw_label(spr, label, myscale, center_flag,
 truncate_flag):

  # used for most things
  def draw_label1(spr, label):
 -    draw_label(spr, label, 7, True, True)
 +    draw_label(spr, label, 6, True, True)

  # used for status blocks
  def draw_label2(spr, label):
 }}}

-- 
Ticket URL: <http://bugs.sugarlabs.org/ticket/1557>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list