All notable changes to the egui-winit
integration will be noted in this file.
- Only use
wasm-bindgen
feature forinstant
when building for wasm32 #2808 (thanks @gferon!) - Fix unsafe API of
Clipboard::new
#2765 (thanks @dhardy!) - Remove
android-activity
dependency + addActivity
backend features #2863 (thanks @rib!) - Use
RawDisplayHandle
for smithay clipboard init #2914 (thanks @lunixbochs!) - Clear all keys and modifies on focus change #2933
- Support Wasm target #2949 (thanks @jinleili!)
- Fix unsafe API: remove
State::new_with_wayland_display
; changeClipboard::new
to take&EventLoopWindowTarget<T>
- Fixed crash when window position is in an invalid state, which could happen e.g. due to changes in monitor size or DPI (#2722).
- Fixed persistence of native window position on Windows OS (#2583).
- Update to
winit
0.28, adding support for mac trackpad zoom (#2654). - Remove the
screen_reader
feature. Use theaccesskit
feature flag instead (#2669). - Fix bug where the cursor could get stuck using the wrong icon.
- The default features of the
winit
crate are not enabled if the default features ofegui-winit
are disabled too (#1971). - Added new feature
wayland
which enables Wayland support (#1971). - Don't repaint when just moving window (#1980).
- Added optional integration with AccessKit for implementing platform accessibility APIs (#2294).
- MSRV (Minimum Supported Rust Version) is now
1.61.0
(#1846). - Fixed clipboard on Wayland (#1613).
- Allow deferred render + surface state initialization for Android (#1634).
- Fixed window position persistence (#1745).
- Fixed mouse cursor change on Linux (#1747).
- Use the new
RawInput::has_focus
field to indicate whether the window has the keyboard focus (#1859).
- Reexport
egui
crate - MSRV (Minimum Supported Rust Version) is now
1.60.0
(#1467). - Added new feature
puffin
to addpuffin profiler
scopes (#1483). - Renamed the feature
convert_bytemuck
tobytemuck
(#1467). - Renamed the feature
serialize
toserde
(#1467). - Removed the features
dark-light
andpersistence
(#1542).
- Fixed horizontal scrolling direction on Linux.
- Replaced
std::time::Instant
withinstant::Instant
for WebAssembly compatibility (#1023) - Automatically detect and apply dark or light mode from system (#1045).
- Fixed
enable_drag
on Windows OS (#1108). - Shift-scroll will now result in horizontal scrolling on all platforms (#1136).
- Require knowledge about max texture side (e.g.
GL_MAX_TEXTURE_SIZE
)) (#1154).
- Added helper
EpiIntegration
(#871). - Fixed shift key getting stuck enabled with the X11 option
shift:both_capslock
enabled (#849). - Removed
State::is_quit_event
andState::is_quit_shortcut
(#881). - Updated
winit
to 0.26 (#930).
First stand-alone release. Previously part of egui_glium
.