3 ms·
> Then, I do the somewhat tedious work of translating between elements' bounding rectangles and positions into this space. Having done something similar, it ca
by etimberg 9y ago
> Then, I do the somewhat tedious work of translating between elements' bounding rectangles and positions into this space.
Having done something similar, it can be quite frustrating. Add in high DPI devices (window.devicePixelRatio > 1) and it gets even more complicated. All in all it would be nice if there were standard methods for doing the translations