mirror of
https://github.com/cookiengineer/audacity
synced 2025-07-03 06:03:13 +02:00
FIX: Slider thumb clipped when at far right.
It was being drawn 2px to the right.
This commit is contained in:
parent
da3f28118b
commit
adb42fe8a3
@ -558,7 +558,7 @@ void LWSlider::OnPaint(wxDC &dc, bool highlight)
|
||||
int thumbOrtho; // position in axis orthogonal to mOrientation
|
||||
if (mOrientation == wxHORIZONTAL){
|
||||
thumbOrtho = mCenterY - (mThumbHeight/2);
|
||||
thumbPos += 3-mThumbWidth/2;
|
||||
thumbPos += 1-mThumbWidth/2;
|
||||
}
|
||||
else{
|
||||
thumbOrtho = mCenterX - (mThumbWidth/2);
|
||||
|
Loading…
x
Reference in New Issue
Block a user