All notable changes to the egui_web
integration will be noted in this file.
- The default painter is now glow instead of WebGL (#1020).
- Made the WebGL painter opt-in (#1020).
- Fixed glow failure on Chromium (#1092).
- Shift-scroll will now result in horizontal scrolling (#1136).
- Updated
epi::IntegrationInfo::web_location_hash
onhashchange
event (#1140). - Parse and percent-decode the web location query string (#1258).
- Fixed dark rendering in WebKitGTK (#888).
- Added feature
glow
to switch to aglow
based painter (#868).
- Remove "http" feature (use https://github.com/emilk/ehttp instead!).
- Implement
epi::NativeTexture
trait for the WebGL painter. - Deprecate `Painter::register_webgl_texture.
- Fix multiline paste.
- Fix painting with non-opaque backgrounds.
- Improve text input on mobile and for IME.
- Fix alpha blending for WebGL2 and WebGL1 with sRGB support backends, now having identical results as egui_glium.
- Fix use of egui on devices with both touch and mouse.
- Added support for dragging and dropping files into the browser window.
- Made text thicker and less pixelated.
- Default to light visuals unless the system reports a preference for dark mode.
- Improve alpha blending, making fonts look much better (especially in light mode)
- Fix double-paste bug
- Scroll faster when scrolling with mouse wheel.
- Fix mobile and IME text input
- Hold down a modifier key when clicking a link to open it in a new tab.
Contributors: n2
- You can control the maximum egui canvas size with
App::max_size_points
.
- Right-clicks will no longer open browser context menu.
- Fix a bug where one couldn't select items in a combo box on a touch screen.
- WebGL2 is now supported, with improved texture sampler. WebGL1 will be used as a fallback.
- Slightly improved alpha-blending (work-around for non-existing linear-space blending).
- Call prevent_default for arrow keys when entering text
http
andpersistence
are now optional (and opt-in) features.
- egui_web now compiled without
RUSTFLAGS=--cfg=web_sys_unstable_apis
, but copy/paste won't work.
- Auto-save of app state to local storage
- Set a maximum canvas size to alleviate performance issues on some machines
- Simplify
egui_web::start
arguments
- A simple HTTP fetch API (wraps
web_sys
). - Add ability to request a repaint
- Copy/cut/paste suppoert
- Automatic repaint every second
- Web browser zooming should now work as expected
- A bunch of bug fixes related to keyboard events