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:
parent
e4a439b4a0
commit
a2ce05945a
@ -386,6 +386,6 @@ SeekSlider::_SetKnobPosition(int32 knobPos)
|
|||||||
|
|
||||||
newKnob.left = fKnobPos - knobWidth2;
|
newKnob.left = fKnobPos - knobWidth2;
|
||||||
newKnob.right = fKnobPos + knobWidth2;
|
newKnob.right = fKnobPos + knobWidth2;
|
||||||
Invalidate(oldKnob | newKnob);
|
Invalidate((oldKnob | newKnob).InsetBySelf(-1, 0));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user