Artúr Kovács
Artúr Kovács
It would be to the very least surprising if there wouldn't be a good reason why events are queued instead of dispatched immediately. Unfortunately I don't know what that reason...
First of all thank you @francesca64 for clarifying the situation with Freya. I wish her the best. And thanks for describing the history of how we came to queue events,...
I'm going to risk pointing out the obvious, but this does not compile.
It just occurred to me that maybe there's some merit in exploring a cross platform API for this functionality. For example, on Windows, there's: [`SetWindowPos`](https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-setwindowpos) And on X11, there is...
I think you should use the Rust ImageData bytes to construct a new JS ImageData: https://developer.mozilla.org/en-US/docs/Web/API/ImageData/ImageData Then pass the JS ImageData to the putImageData function of the canvas: https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/putImageData On...
First of all, you should decide where you want to render it. 1. If you want to render it to the screen, then you should have a `` element on...
I have a feeling that you are copying the file and not the pixel values. The two things are not the same. Note that arboard does not currently support copying...
> Is there a way in which I could detect whether the user is making the same mistake and notify them? Even if there is, it wouldn't be a good...
Yeah, allowing to read and write arbitrarily typed data seems like a useful addition. Maybe an `enum` of possible clipboard types could be used as an efficient and typo-resistent alternative...
I started working on this