egui/crates
StarStarJ 7b105cfa0f
Invalidate font atlas on any change to `pixels_per_point`, not matter how small (#3698)
Apparently the font implementation uses a distance check to decide if
the font(or whatever) need recalculations, after dpi changed:

8d4de866d4/crates/epaint/src/text/fonts.rs (L381-L382)

This leads to warnings when the pixel_per_point diff is very low and
spams the log. (<- this happens for me if i resize my window on kwin,
e.g. maximize it)

(I don't want to debate if the float difference generally makes sense,
so if you want to rework that instead just close this pr)
2024-01-08 09:13:34 +01:00
..
ecolor Add `DragValue`s for RGB(A) in the color picker (#2734) 2024-01-07 16:12:59 +01:00
eframe Highlight submenu buttons when hovered and open (#3780) 2024-01-07 22:08:32 +01:00
egui [ScrollArea]: Add option to always scroll the only enabled direction (#3710) 2024-01-07 22:20:31 +01:00
egui-wgpu Bump `winit` to `0.29.7` (#3753) 2024-01-02 07:27:52 +01:00
egui-winit Ignore extra SHIFT and ALT when matching modifiers (#3769) 2024-01-05 10:53:14 +01:00
egui_demo_app Fix some clippy 1.75 lints (#3754) 2023-12-30 11:23:21 +01:00
egui_demo_lib Add missing links to source code (#3770) 2024-01-08 09:07:25 +01:00
egui_extras Highlight submenu buttons when hovered and open (#3780) 2024-01-07 22:08:32 +01:00
egui_glow Fix typo in `crates/egui_glow/README.md` (#2956) 2024-01-07 16:31:34 +01:00
egui_plot Highlight submenu buttons when hovered and open (#3780) 2024-01-07 22:08:32 +01:00
egui_web Fix typos (#2866) 2023-04-18 15:52:45 +02:00
emath Highlight submenu buttons when hovered and open (#3780) 2024-01-07 22:08:32 +01:00
epaint Invalidate font atlas on any change to `pixels_per_point`, not matter how small (#3698) 2024-01-08 09:13:34 +01:00