timthedevguy / BGHUDAppKit

* BGHUDAPPKIT is no longer under development by me, I hope that the community will keep it alive and going as I no longer have time to dedicate to the project** The missing HUD controls. Please scroll down to read the readme file for an important notice concerning the future of BGHUDAppKit. Note that there are multiple versions available, 10.5+, 10.6.7, and now 10.7. As soon as I learn how I'll make these all one code base if possible.
http://www.binarymethod.com/
312 stars 57 forks source link

horizontal slider leaves trails in track #25

Closed seagraves closed 14 years ago

seagraves commented 14 years ago

I used a horizontal slider, mini sized, and noticed the knob was leaving trails in the track. The following diff fixed this for me. Note that this change would probably preclude you from needing to draw two NSBezierPaths instead of a single path stroke, per your comment in the code immediately following this change;

diff --git a/Framework/BGHUDSliderCell.m b/Framework/BGHUDSliderCell.m index 8f82470..c28fcbc 100644 --- a/Framework/BGHUDSliderCell.m +++ b/Framework/BGHUDSliderCell.m @@ -419,6 +419,8 @@

} else {
timthedevguy commented 14 years ago

Removed for being a duplicate entry.