Fix fly-to vertical centering at non-1 zoom levels #250
Reference in New Issue
Block a user
Delete Branch "fix-fly-to-vertical-centering"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
×Nfly-to sometimes landed in a blank area far below the tree. Cause: family-chartcardToMiddlescalesdatum.xby the zoomkbut notdatum.y(y = height/2 - datum.y, missing the·k), so vertical centering is only correct atk=1and drifts bydatum.y·(k−1)otherwise — worse the deeper the person sits (hence "way below the tree", and it only worked near 1:1). Fix: pre-multiply theypassed tocardToMiddleby the current scale, cancelling the missing·k.xwas already correct. Frontend only.🤖 Generated with Claude Code