fix: add missing scaleX and scaleY number conversions

The scaleX and scaleY variables were still needed for region bounding
box calculations later in the code. Added .toNumber() conversions from
the Big.js versions to regular numbers for these calculations.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Thomas Hallock 2025-11-19 19:12:06 -06:00
parent 8e9c0548c8
commit ae6cc5e326
1 changed files with 2 additions and 0 deletions

View File

@ -1038,6 +1038,8 @@ export function MapRenderer({
// Convert to numbers for use in calculations
const cursorSvgX = cursorSvgXBig.toNumber()
const cursorSvgY = cursorSvgYBig.toNumber()
const scaleX = scaleXBig.toNumber()
const scaleY = scaleYBig.toNumber()
// Zoom search logging disabled for performance