Closed cdmiller closed 11 years ago
anchor looks off center from bar, fixable?
It's an issue of pixel perfection. Because the hook goes to a percentage on the scale, its X position can be "half" over a pixel. When the screen is drawn, its X value is rounded to the nearest integer, which is causing the issue.
I believe it would be a large task to fix this problem. Should I look further into it?
On second look it appears that the bar is not positioned correctly, try hook at 10 -> bar looks off center, hook at 2 -> bar goes past the 0 mark. The bar looks correct in the upper range 50-100. Is there some rounding or offset problem with the bar coordinates?
Addressed in my latest commit. The pixel perfection issue still exists, but the interval bar is now properly aligned with the scale & hook.
Add 0 and 100 on bottom of scale, not to big, and shorten tick marks (on bottom only?) Add white bar for current range under hook. Add dark bars for range used by each previous hook drop.