
* Attempt to fix monitor clamping on Windows so window positions can be restored between sessions. * Missed a change. * Renamed variables, reorganized some lines of code, and added some more comments. * Cargo fmt run * Updated CHANGELOG.md to briefly describe my change * Updated CHANGELOG.md to briefly describe my change * Applied suggested fixes from emilk Discovered an issue where putting the monitor off a non-primary monitor to the left causes the position to be off the monitor x and y range, clamping to the primary instead of the non-primary. * Fix for matching negative restored window positions. Should clamp if any part of the window had been visible on a remaining monitor. * Apparently compiler attributes on statements have been marked unstable. Rather than just wrap in blocks, I kind of prefer the more explicit if cfg! call for line 114. CHANGELOG.md - correct a missing paren I noticed * I was being silly, I don't need to clone inner_size_points on line 112 * Cargo fmt run * Update crates/egui-winit/CHANGELOG.md emilk suggested changelog formatting Co-authored-by: Emil Ernerfeldt <emil.ernerfeldt@gmail.com> * Update window_settings.rs Satisfy CI Error * clippy --------- Co-authored-by: Emil Ernerfeldt <emil.ernerfeldt@gmail.com>
3.5 KiB
3.5 KiB
Changelog for egui-winit
All notable changes to the egui-winit
integration will be noted in this file.
Unreleased
- Fixed window position persistence for Windows (#2583).
- Update to
winit
0.28, adding support for mac trackpad zoom (#2654). - Remove the
screen_reader
feature. Use theaccesskit
feature flag instead (#2669).
0.20.1 - 2022-12-11
- Fix docs.rs build (#2420).
0.20.0 - 2022-12-08
- 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).
0.19.0 - 2022-08-20
- 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).
0.18.0 - 2022-04-30
- 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).
0.17.0 - 2022-02-22
- Fixed horizontal scrolling direction on Linux.
- Replaced
std::time::Instant
withinstant::Instant
for WebAssembly compatability (#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).
0.16.0 - 2021-12-29
- 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).
0.15.0 - 2021-10-24
First stand-alone release. Previously part of egui_glium
.