penpot/frontend
elhombretecla d103805086 🐛 Round the numbers of the compare dialog once a plugin has loaded
Sizes, positions and other numbers in the compare dialog showed every
decimal (162.99999952316284 × 42.99999808520081) as soon as a plugin
had loaded. The plugin runtime's SES lockdown turns
`Number.prototype.toLocaleString` into `toString`, which ignores the
two-decimal limit and the locale.

The numbers now go through `Intl.NumberFormat`, which the lockdown
leaves alone, and fall back to the default locale when none is set.
2026-10-28 09:50:32 +01:00
..
2026-10-06 15:12:15 +02:00
2026-09-29 09:07:34 +02:00
2026-10-07 10:41:29 +02:00