csZBar
csZBar copied to clipboard
drawSight rectangle bug
Hi,
I guess you commented the rectangle part of your code because it wasn't in the middle of the screen (i saw when i uncommented). I changed a few things to make it work. If it's ok for you, you can just merge.
Anyway thanks for this great work !
@comur can you post a screenshot of the differences? This doesn't look like a bug to me, just a change in what was the original behaviour.
Needs rebase and waiting on @comur's response of screenshots
Hi @dcousens
I don't have possibility to make screenshots right now but I can explain you the differences pretty easily
Before:
I had vertical a red line horizontally centered not side to side but in the middle of the screen (maybe 80% long) I did not have any rectangle at all
After:
Actually I have a white rectangle in the middle of the screen I have horizontal red line vertically centered in the white rectangle
For me it was the expected behavior to have a white rectangle with a red line inside, if it is not, maybe it can be an optional parameter ?
Thanks