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.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35572 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus 2010-02-22 08:25:35 +00:00
parent e4a439b4a0
commit a2ce05945a
1 changed files with 1 additions and 1 deletions

View File

@ -386,6 +386,6 @@ SeekSlider::_SetKnobPosition(int32 knobPos)
newKnob.left = fKnobPos - knobWidth2;
newKnob.right = fKnobPos + knobWidth2;
Invalidate(oldKnob | newKnob);
Invalidate((oldKnob | newKnob).InsetBySelf(-1, 0));
}