johnno1962 / GitDiff

Highlights deltas against git repo in Xcode
MIT License
891 stars 54 forks source link

Breakpoints are hidden by the status color #3

Closed luca-bernardi closed 9 years ago

luca-bernardi commented 9 years ago

If a breakpoint is added on the same line marked with the diff the breakpoint's view is below the diff color. This makes the breakpoint very hard to spot.

johnno1962 commented 9 years ago

Hi Luka, I know, this is true. You could experiment with the “alpha” of the highlighting colours to get around this. If you come up with a winning combination of “rgba" please let me know. I couldn’t find one. Another alternative is to increase the “inset” on the hightlight on line 197:

            NSRectFill( CGRectInset(a0,1.,1.) );
johnno1962 commented 9 years ago

Seems like you can have highlights with alpha if you use a “NSBezierPath" to draw them so this should be resolved now.