Jeremy Wilkins
Jeremy Wilkins
Fixed it for me.
No one is assigned to this issue, I haven't received any responses in 6 months, and no changes to this situation seem to have been implemented for 2016.0.0 which is...
Something like this is all that is needed: https://github.com/Bugalex/SSH.NET/commit/f179b201a0e02f144f6dc9760ea9a7bb3931094e
@drieseng or @olegkap is anyone maintaining this code anymore? It has been 9 months without any answers.
Not sure if this is only on Mac OS, but I added that detail until I can confirm otherwise.
I didn't get to test Windows yet, so it might well be Mac OS specific.
Pretty sure it was working properly at normal and 2x scale on the Mac.
It is with display resolution 2560x1440, so maybe it's the resolution causing a rounding error. It is off by only one pixel.
Classic off-by-one error? LOL.
Well I did the division on my computer and it definitely ends in a remainder.