RachelAlcraft / LeuciWeb

Leucippus on the web
GNU General Public License v3.0
1 stars 0 forks source link

Yellow dots move off centre #76

Closed RachelAlcraft closed 1 year ago

RachelAlcraft commented 1 year ago

Yellow dots seem correctly places but when I zoom out they seem to be off centre: eg the irons in 5d8v: https://leucippus2.azurewebsites.net/Matrix/Slice?interp=BSPLINE3&pdbcode=5d8v&c_xyz=(30.022,32.133,13.228)&l_xyz=(30.433,33.411,12.518)&p_xyz=(30.876,31.427,13.766)&ca=A%3A4@C.A&la=A%3A4@CA.A&pa=A%3A4@O.A&fos=2&fcs=-1&width=12&gap=0.1091&dots=Y&gdots=Y

RachelAlcraft commented 1 year ago

In fact, 12 is bad but 11.5 is good so it is some sdort of centring problem for numbers, maybe odd, even or rounded.

RachelAlcraft commented 1 year ago

In fact, make it space of 1 and then 12 wide is good but 11.5 goes off.

RachelAlcraft commented 1 year ago

If I remove the cap and int the p[roblem is clear, when the width/gap is an odd number it is off centre.