[haiku-commits] r35572 - haiku/trunk/src/apps/mediaplayer/interface

  • From: superstippi@xxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Mon, 22 Feb 2010 09:25:35 +0100 (CET)

Author: stippi
Date: 2010-02-22 09:25:35 +0100 (Mon, 22 Feb 2010)
New Revision: 35572
Changeset: http://dev.haiku-os.org/changeset/35572/haiku
Ticket: http://dev.haiku-os.org/ticket/2433

Modified:
   haiku/trunk/src/apps/mediaplayer/interface/SeekSlider.cpp
Log:
Invalidate one more pixel to the left/right of the slider knowb, to account for
anti-aliasing artifacts that extend outside the calculated knob-frame. Fixes
#2433.


Modified: haiku/trunk/src/apps/mediaplayer/interface/SeekSlider.cpp
===================================================================
--- haiku/trunk/src/apps/mediaplayer/interface/SeekSlider.cpp   2010-02-22 
01:40:24 UTC (rev 35571)
+++ haiku/trunk/src/apps/mediaplayer/interface/SeekSlider.cpp   2010-02-22 
08:25:35 UTC (rev 35572)
@@ -386,6 +386,6 @@
 
        newKnob.left = fKnobPos - knobWidth2;
        newKnob.right = fKnobPos + knobWidth2;
-       Invalidate(oldKnob | newKnob);
+       Invalidate((oldKnob | newKnob).InsetBySelf(-1, 0));
 }
 


Other related posts:

  • » [haiku-commits] r35572 - haiku/trunk/src/apps/mediaplayer/interface - superstippi