Matthias
Matthias
The docs say IPFS is supported, but it has no example IPFS urls. This is important, because I'm trying it on https://replayweb.page/ and it doesn't work. Here is what I'm...
Agreed this is needed, because `toRgb` rounds values, which loses precision. So there's actually no way to get the _exact_ RGB values out! See https://github.com/bgrins/TinyColor/issues/278
The `pixel` fix in https://github.com/openlayers/openlayers/pull/16124 certainly helps, but I can still reproduce the issue if I get the timing _just right_ while triggering wheel events one after the other. E.g....
Ah yes that's right, `zoomByDelta` starts an animation. I was logging `view.getCenter()` right after that call, but the animation hadn't finished yet.
Unfortunately, the `pixel` fix doesn't fix the whole issue. The glitch is still present in ol version `10.1.1-dev.1725276208693` See [codesandbox](https://codesandbox.io/p/sandbox/epsg-4326-forked-6h97kt). https://github.com/user-attachments/assets/05c7fbe6-7f55-469c-82e9-7a536559a77e
The code looks like it's rounding intentionally: https://github.com/bgrins/TinyColor/blob/13851a7f4950040d9ad8557c3a92d9f4d8d02843/tinycolor.js#L132-L139 Just curious, what's the reason for rounding? In CSS, decimal numbers are valid. Is there another concern? Would you be open to...
Ah, I see not all older browsers support float values in rgb expressions: https://developer.mozilla.org/en-US/docs/Web/CSS/color_value/rgb#browser_compatibility Is a PR welcome for implementing `toRgbValues`? I've adjusted my MR to implement that. Reasoning: RGB...
Anyone here?