#7568 NORM -: Holder graphic is incorrect for rotated sketches

Zarro Boogs per Child bugtracker at laptop.org
Sat Jul 19 14:48:31 EDT 2008


#7568: Holder graphic is incorrect for rotated sketches
---------------------------+------------------------------------------------
 Reporter:  subbu          |         Owner:  jg                               
     Type:  defect         |        Status:  new                              
 Priority:  normal         |     Milestone:                                   
Component:  documentation  |       Version:  Development build as of this date
 Keywords:                 |   Next_action:  diagnose                         
 Verified:  0              |     Blockedby:                                   
 Blocking:                 |  
---------------------------+------------------------------------------------
 Holder getGraphicAtCursor returns the unrotated form of a rotated morph.
 Try:
  create a sketch, drag a copy to a holder.
  rotate the sketch by 90, drag a copy to the holder.
  observe Holder graphicAtCursor as cursor changes from one to two and vice
 versa. There is no change.

 I believe this is because getGraphicAtCursor returns the form from a
 renderedMorph of the object at cursor. If the object has been rotated,
 then this yields the base graphic of the original sketch rather than the
 rotated graphic.

-- 
Ticket URL: <http://dev.laptop.org/ticket/7568>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system


More information about the Bugs mailing list