Vitaly Novichkov

Results 1153 comments of Vitaly Novichkov

Actually, for Electron case needs some small refactoring :thinking: : https://www.electronjs.org/docs/latest/tutorial/devices

> This fix is much better than the existing behavior, but I think it might not handle the case where a manually-specified clip rect is larger than the viewport. A...

The latest Chromium just fails: ![image](https://github.com/solosky/pixl.js/assets/6751442/ce50e978-03d9-4583-8169-4e0e731d343f) Google Chrome fails too: ![image](https://github.com/solosky/pixl.js/assets/6751442/15aa5631-7be9-4880-8a89-a325a702f805) Yandex Browser too: ![image](https://github.com/solosky/pixl.js/assets/6751442/cb2a5b45-8f1e-4b38-a695-0aa35431e4e2) Actually, as I said, this API is experimental and doesn't properly works everywhere: https://developer.mozilla.org/en-US/docs/Web/API/Web_Bluetooth_API#browser_compatibility

@slouken, ping? I also made the limiting of the scope so true croprect will never go out of viewport's range. And I tested that behaviour on my end already. Now...

Actually, this feature is only works when enable Experimental Web platform features flag: ![Снимок экрана от 2024-04-04 15-33-12](https://github.com/solosky/pixl.js/assets/6751442/81d1601a-e6aa-40d8-846b-3eec85882746) ![Снимок экрана от 2024-04-04 15-33-31](https://github.com/solosky/pixl.js/assets/6751442/bbaf3218-4c62-4779-a04d-cb9f6269e677) ![Снимок экрана от 2024-04-04 15-34-48](https://github.com/solosky/pixl.js/assets/6751442/8c35daf0-b9f3-486e-82fc-e170811213cc) Actually, standalone...

Additionally, the Web Bluetooth API [gets been refused](https://mozilla.github.io/standards-positions/#web-bluetooth) by Mozilla because of security risks and complication of maintenance (including the blacklist of vulnerable/faulty devices).

> I went ahead and merged this. Can you make a similar PR for SDL3? Let me make an attempt...

Vivaldi is not fully Chromium, its way reworked including several features. On my end is a pure unmodified Chromium of the super latest version.

Do you mean especially if people with vision problems or small screens and it's hard to read the text?

Pixel-art fonts CAN be scaled, but they will be distorted if scaled down or scaled up with the non-multiple 2 factor.