egui-miniquad icon indicating copy to clipboard operation
egui-miniquad copied to clipboard

Issue tracker

Open emilk opened this issue 3 years ago • 5 comments

This is a tracking issue for some things still lacking

  • [x] Copy/paste in browser
  • [ ] Cursor changes on MacOS (not implemented in microquad yet)
  • [ ] Only redraw on changes/events (reactive mode) to save CPU

emilk avatar Mar 23 '21 19:03 emilk

Copy/paste in browser

Just tried in some of @optozorax's demos and it works, not quite sure is it something made by @optozorax's in emigui-macroquad or is it available out of the box with egui-miniquad

not-fl3 avatar Mar 23 '21 20:03 not-fl3

Does it work for you in https://not-fl3.github.io/egui-miniquad/ ? For me it doesn't work (Firefox+Mac)

emilk avatar Mar 24 '21 08:03 emilk

It does not, but I got plenty of errors in the console like "Version mismatch: gl.js version is: 0.1.22, rust sapp-wasm crate version is: 0.1.23" So maybe updating gl.js will do the job?

not-fl3 avatar Mar 24 '21 16:03 not-fl3

Small side note: https://github.com/not-fl3/egui-miniquad/blob/master/build_web.sh#L12

wasm-strip call on the rust's output wasm will reduce .wasm file size from 4mb to 2mb :)

not-fl3 avatar Mar 24 '21 16:03 not-fl3

I'm interested in "Only redraw on changes/events (reactive mode) to save CPU". My current idea is to render egui to offscreen buffer and reuse the same image when there is no input or no redraw required. I also think to use the value of the alpha channel of the buffer for the input event routing.

akhilman avatar Sep 10 '21 17:09 akhilman