From: Richard K. <ric...@us...> - 2005-05-27 22:16:18
|
Update of /cvsroot/actionstep/actionstep/src/org/actionstep In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2242 Modified Files: NSScroller.as Log Message: clear before draw! Index: NSScroller.as =================================================================== RCS file: /cvsroot/actionstep/actionstep/src/org/actionstep/NSScroller.as,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** NSScroller.as 27 May 2005 20:52:37 -0000 1.10 --- NSScroller.as 27 May 2005 22:16:08 -0000 1.11 *************** *** 547,550 **** --- 547,551 ---- public function drawRect(rect:NSRect) { + m_mcBounds.clear(); ASTheme.current().drawScrollerSlotWithRectInView(rect, this); if (m_enabled) { *************** *** 574,578 **** m_scrollerKnobClipRect.size.height = rectKnob.size.height; m_scrollerKnobClip.clear(); - TRACE("drawing knob "+m_scrollerKnobClipRect ); ASTheme.current().drawScrollerWithRectInClip(new NSRect(0,0,rectKnob.size.width, rectKnob.size.height), m_scrollerKnobClip); } --- 575,578 ---- |