Skip to content

Conversation

@eposha
Copy link

@eposha eposha commented Oct 23, 2025

Summary

This pull request increases the zoom precision calculation from two decimal places to three.

Details

Previously, zoom values were rounded to 0.01 using:

const newZoom = Math.floor(exactZoom * 100) / 100;

This caused small inaccuracies when measuring element width.

Now it’s updated to:

const newZoom = Math.floor(exactZoom * 1000) / 1000;

@vercel
Copy link

vercel bot commented Oct 23, 2025

@eposha is attempting to deploy a commit to the OpenBook Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant