egui/crates
Sheldon M 53f8e4049f
Position persistence and sane clamping to still-available monitors for Windows (#2583)
* 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>
2023-02-04 15:33:32 +01:00
..
ecolor Clear color values are now explicitely sent to the rendering backend as-is. (#2666) 2023-02-04 11:02:15 +01:00
eframe Position persistence and sane clamping to still-available monitors for Windows (#2583) 2023-02-04 15:33:32 +01:00
egui Fix typo in docstring (#2643) 2023-02-04 13:53:20 +01:00
egui-wgpu Update to to winit 0.28 (#2654) 2023-02-04 12:43:43 +01:00
egui-winit Position persistence and sane clamping to still-available monitors for Windows (#2583) 2023-02-04 15:33:32 +01:00
egui_demo_app Remove native screen reader support (#2669) 2023-02-04 11:47:36 +01:00
egui_demo_lib Control Separator widths, and less clipping in ScrollArea (#2665) 2023-02-03 13:19:25 +01:00
egui_extras Update SVG crates (#2670) 2023-02-04 13:00:04 +01:00
egui_glium Remove native screen reader support (#2669) 2023-02-04 11:47:36 +01:00
egui_glow cargo update (#2671) 2023-02-04 13:41:34 +01:00
egui_web Fix broken GitHub source links due to #1940 2022-08-20 15:18:02 +02:00
emath Add emath::inverse_lerp 2022-12-22 12:33:06 +01:00
epaint Fix rendering of (ellipsis) 2023-01-23 20:24:38 +01:00