mirror of
https://github.com/emilk/egui.git
synced 2026-06-26 22:53:14 -04:00
* 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
winit0.28, adding support for mac trackpad zoom (#2654). - Remove the
screen_readerfeature. Use theaccesskitfeature 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
winitcrate are not enabled if the default features ofegui-winitare disabled too (#1971). - Added new feature
waylandwhich 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_focusfield to indicate whether the window has the keyboard focus (#1859).
0.18.0 - 2022-04-30
- Reexport
eguicrate - MSRV (Minimum Supported Rust Version) is now
1.60.0(#1467). - Added new feature
puffinto addpuffin profilerscopes (#1483). - Renamed the feature
convert_bytemucktobytemuck(#1467). - Renamed the feature
serializetoserde(#1467). - Removed the features
dark-lightandpersistence(#1542).
0.17.0 - 2022-02-22
- Fixed horizontal scrolling direction on Linux.
- Replaced
std::time::Instantwithinstant::Instantfor WebAssembly compatability (#1023) - Automatically detect and apply dark or light mode from system (#1045).
- Fixed
enable_dragon 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_capslockenabled (#849). - Removed
State::is_quit_eventandState::is_quit_shortcut(#881). - Updated
winitto 0.26 (#930).
0.15.0 - 2021-10-24
First stand-alone release. Previously part of egui_glium.